Merge pull request #1137 from mailpoet/eslint4
Eslint for tests [MAILPOET-1083]
This commit is contained in:
@ -9,20 +9,12 @@
|
||||
},
|
||||
"rules": {
|
||||
"import/no-amd": 0,
|
||||
"no-whitespace-before-property": 0,
|
||||
"global-require": 0,
|
||||
"keyword-spacing": 0,
|
||||
"no-bitwise": 0,
|
||||
"no-spaced-func": 0,
|
||||
"func-call-spacing": 0,
|
||||
"max-len": 0,
|
||||
"space-unary-ops": 0,
|
||||
"no-underscore-dangle": 0,
|
||||
"no-shadow": 0,
|
||||
"padded-blocks": 0,
|
||||
"space-before-blocks": 0,
|
||||
"object-curly-spacing": 0,
|
||||
"func-names": 0,
|
||||
"space-before-function-paren": 0
|
||||
"func-names": 0
|
||||
}
|
||||
}
|
||||
|
@ -51,8 +51,7 @@ define([
|
||||
.on('resizestart', function () {
|
||||
that.isBeingResized = true;
|
||||
that.$el.addClass('mailpoet_resize_active');
|
||||
})
|
||||
.on('resizemove', function (event) {
|
||||
}).on('resizemove', function (event) {
|
||||
var onResize = that.options.onResize.bind(that);
|
||||
return onResize(event);
|
||||
})
|
||||
|
Reference in New Issue
Block a user