mirror of
https://github.com/google/blockly.git
synced 2026-01-09 18:10:08 +01:00
Lint cleanup.
This commit is contained in:
@@ -72,7 +72,6 @@ BlocklyStorage.link = function() {
|
||||
* @param {string} key Key to XML, obtained from href.
|
||||
*/
|
||||
BlocklyStorage.retrieveXml = function(key) {
|
||||
var xml = Blockly.Xml.workspaceToDom(Blockly.getMainWorkspace());
|
||||
BlocklyStorage.makeRequest_('/storage', 'key', key);
|
||||
};
|
||||
|
||||
|
||||
@@ -153,7 +153,7 @@ Blockly.FieldColour.prototype.setColours = function(colours) {
|
||||
|
||||
/**
|
||||
* Set a custom grid size for this field.
|
||||
* @param {number} colours Number of columns for this block,
|
||||
* @param {number} columns Number of columns for this block,
|
||||
* or 0 to use default (Blockly.FieldColour.COLUMNS).
|
||||
* @return {!Blockly.FieldColour} Returns itself (for method chaining).
|
||||
*/
|
||||
|
||||
@@ -116,7 +116,7 @@ Blockly.Mutator.prototype.updateEditable = function() {
|
||||
this.setVisible(false);
|
||||
if (this.iconGroup_) {
|
||||
Blockly.addClass_(/** @type {!Element} */ (this.iconGroup_),
|
||||
'blocklyIconGroupReadonly');
|
||||
'blocklyIconGroupReadonly');
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user