Merge pull request #1137 from mailpoet/eslint4

Eslint for tests [MAILPOET-1083]
This commit is contained in:
stoletniy
2017-10-11 10:00:53 +03:00
committed by GitHub
21 changed files with 323 additions and 332 deletions

View File

@ -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
}
}

View File

@ -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);
})