Fixing linting errors

This commit is contained in:
Karishma Chadha 2017-11-13 14:22:36 -05:00
parent 70959cc7f5
commit b18938963f
2 changed files with 4 additions and 4 deletions

View file

@ -87,7 +87,7 @@ class Target extends EventEmitter {
const variable = this.lookupVariableById(id);
if (variable) return variable;
// No variable with this name exists - create it locally.
const newVariable = new Variable(id, name, "", false);
const newVariable = new Variable(id, name, '', false);
this.variables[id] = newVariable;
return newVariable;
}
@ -124,7 +124,7 @@ class Target extends EventEmitter {
const list = this.lookupVariableById(id);
if (list) return list;
// No variable with this name exists - create it locally.
const newList = new Variable(id, name, "list", false);
const newList = new Variable(id, name, 'list', false);
this.variables[id] = newList;
return newList;
}

View file

@ -19,10 +19,10 @@ class Variable {
this.type = type;
this.isCloud = isCloud;
switch (this.type) {
case "":
case '':
this.value = 0;
break;
case "list":
case 'list':
this.value = [];
break;
}