Updated eslint whitespace rules

This commit is contained in:
n1474335 2017-02-09 15:09:33 +00:00
parent ebf2258715
commit e803d208e8
51 changed files with 801 additions and 793 deletions

View file

@ -20,7 +20,7 @@ var Operation = function(operationName, operationConfig) {
this.breakpoint = false;
this.disabled = false;
this.ingList = [];
if (operationConfig) {
this._parseConfig(operationConfig);
}
@ -57,16 +57,16 @@ Operation.prototype._parseConfig = function(operationConfig) {
*/
Operation.prototype.getConfig = function() {
var ingredientConfig = [];
for (var o = 0; o < this.ingList.length; o++) {
ingredientConfig.push(this.ingList[o].getConfig());
}
var operationConfig = {
"op": this.name,
"args": ingredientConfig
};
return operationConfig;
};