Fix ESLint newline-per-chained-call ES5

[MAILPOET-1031]
This commit is contained in:
Pavel Dohnal
2017-08-30 14:40:42 +02:00
parent c1ccacf851
commit 227de4ecfa
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,6 @@
"guard-for-in": 0, "guard-for-in": 0,
"no-prototype-builtins": 0, "no-prototype-builtins": 0,
"no-restricted-syntax": 0, "no-restricted-syntax": 0,
"newline-per-chained-call": 0,
"no-useless-concat": 0, "no-useless-concat": 0,
"no-multi-spaces": 0, "no-multi-spaces": 0,
"no-nested-ternary": 0, "no-nested-ternary": 0,

View File

@ -50,7 +50,8 @@ define([
if (newLength < that.options.minLength) newLength = that.options.minLength; if (newLength < that.options.minLength) newLength = that.options.minLength;
that.view.model.set(that.options.modelField, newLength + 'px'); that.view.model.set(that.options.modelField, newLength + 'px');
}).on('resizeend', function(event) { })
.on('resizeend', function(event) {
that.isBeingResized = null; that.isBeingResized = null;
that.$el.removeClass('mailpoet_resize_active'); that.$el.removeClass('mailpoet_resize_active');
}); });