[SSE] Refactoring

This commit is contained in:
Julia Radzhabova 2020-05-15 13:07:47 +03:00
parent b377c5b10b
commit ba775c9929

View file

@ -299,10 +299,14 @@ define([
}, },
getArgumentsValue: function() { getArgumentsValue: function() {
var res = []; var res = [],
this.args.forEach(function(item){ len = this.args.length,
res.push(item.argInput.getValue()); empty = true;
}); for (var i=len-1; i>=0; i--) {
var val = this.args[i].argInput.getValue();
empty && (empty = !val);
(!empty) && (res[i] = val);
}
return res; return res;
}, },