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