From 0f4a4170522c0cc0acbc38b2a2170cdbee1a5423 Mon Sep 17 00:00:00 2001 From: Abby Date: Wed, 17 Jul 2019 11:38:08 -0700 Subject: [PATCH] Remove @packages annotation from public methods --- core/utils/xml.js | 4 ---- core/variables.js | 1 - 2 files changed, 5 deletions(-) diff --git a/core/utils/xml.js b/core/utils/xml.js index 3de333364..2897dc435 100644 --- a/core/utils/xml.js +++ b/core/utils/xml.js @@ -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. diff --git a/core/variables.js b/core/variables.js index 173702a7a..be2606e9c 100644 --- a/core/variables.js +++ b/core/variables.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();