es5 -> es2015 (last stage)

Signature plugin fixes
Add view decorator
A large number of fixes
This commit is contained in:
RainLoop Team 2016-08-17 01:01:20 +03:00
parent e88c193334
commit 17669b7be0
153 changed files with 21193 additions and 21115 deletions

View file

@ -190,9 +190,7 @@ class FilterModel extends AbstractModel
Enabled: this.enabled() ? '1' : '0',
Name: this.name(),
ConditionsType: this.conditionsType(),
Conditions: _.map(this.conditions(), function(oItem) {
return oItem.toJson();
}),
Conditions: _.map(this.conditions(), (item) => item.toJson()),
ActionValue: this.actionValue(),
ActionValueSecond: this.actionValueSecond(),
@ -257,7 +255,8 @@ class FilterModel extends AbstractModel
}
cloneSelf() {
var filter = new FilterModel();
const filter = new FilterModel();
filter.id = this.id;