Line wrap at 80.

This commit is contained in:
Neil Fraser
2018-10-12 14:58:47 -07:00
committed by Neil Fraser
parent f196816f62
commit aa09ad9175
36 changed files with 208 additions and 173 deletions

View File

@@ -96,7 +96,7 @@ Blockly.VariableMap.prototype.renameVariable = function(variable, newName) {
Blockly.VariableMap.prototype.renameVariableById = function(id, newName) {
var variable = this.getVariableById(id);
if (!variable) {
throw new Error('Tried to rename a variable that didn\'t exist. ID: ' + id);
throw Error('Tried to rename a variable that didn\'t exist. ID: ' + id);
}
this.renameVariable(variable, newName);