Fix lint errors so we can eventually run eslint on travis.

This commit is contained in:
picklesrus
2017-11-01 16:56:59 -07:00
committed by Rachel Fenichel
parent c4b2899007
commit de8d13eaa1
8 changed files with 31 additions and 14 deletions

View File

@@ -410,7 +410,9 @@ Blockly.Workspace.prototype.deleteVariableInternal_ = function(variable) {
* not present.
* @deprecated April 2017
*/
Blockly.Workspace.prototype.variableIndexOf = function(name) {
Blockly.Workspace.prototype.variableIndexOf = function(
/* eslint-disable no-unused-vars */name /* eslint-enable no-unused-vars */) {
console.warn(
'Deprecated call to Blockly.Workspace.prototype.variableIndexOf');
return -1;