mirror of
https://github.com/google/blockly.git
synced 2026-01-07 17:10:11 +01:00
Remove @packages annotation from public methods
This commit is contained in:
@@ -41,7 +41,6 @@ Blockly.utils.xml.NAME_SPACE = 'https://developers.google.com/blockly/xml';
|
||||
* Create DOM element for XML.
|
||||
* @param {string} tagName Name of DOM element.
|
||||
* @return {!Element} New DOM element.
|
||||
* @package
|
||||
*/
|
||||
Blockly.utils.xml.createElement = function(tagName) {
|
||||
// TODO (#2082): Support node.js.
|
||||
@@ -52,7 +51,6 @@ Blockly.utils.xml.createElement = function(tagName) {
|
||||
* Create text element for XML.
|
||||
* @param {string} text Text content.
|
||||
* @return {!Node} New DOM node.
|
||||
* @package
|
||||
*/
|
||||
Blockly.utils.xml.createTextNode = function(text) {
|
||||
// TODO (#2082): Support node.js.
|
||||
@@ -65,7 +63,6 @@ Blockly.utils.xml.createTextNode = function(text) {
|
||||
* @param {string} text XML string.
|
||||
* @return {Document} The DOM document.
|
||||
* @throws if XML doesn't parse.
|
||||
* @package
|
||||
*/
|
||||
Blockly.utils.xml.textToDomDocument = function(text) {
|
||||
var oParser = new DOMParser();
|
||||
@@ -77,7 +74,6 @@ Blockly.utils.xml.textToDomDocument = function(text) {
|
||||
* Currently the text format is fairly ugly: all one line with no whitespace.
|
||||
* @param {!Element} dom A tree of XML elements.
|
||||
* @return {string} Text representation.
|
||||
* @package
|
||||
*/
|
||||
Blockly.utils.xml.domToText = function(dom) {
|
||||
// TODO (#2082): Support node.js.
|
||||
|
||||
@@ -503,7 +503,6 @@ Blockly.Variables.getOrCreateVariablePackage = function(workspace, id, opt_name,
|
||||
* Only used if lookup by ID fails.
|
||||
* @return {Blockly.VariableModel} The variable corresponding to the given ID
|
||||
* or name + type combination, or null if not found.
|
||||
* @package
|
||||
*/
|
||||
Blockly.Variables.getVariable = function(workspace, id, opt_name, opt_type) {
|
||||
var potentialVariableMap = workspace.getPotentialVariableMap();
|
||||
|
||||
Reference in New Issue
Block a user