Fix eslint no-new in es5 files

[MAILPOET-1146]
This commit is contained in:
Pavel Dohnal
2018-03-01 11:05:48 +00:00
committed by Rostislav Wolný
parent 86e01ce5de
commit fa44127efa
2 changed files with 1 additions and 2 deletions

View File

@@ -20,7 +20,6 @@
"no-restricted-syntax": 0,
"no-useless-concat": 0,
"no-nested-ternary": 0,
"no-new": 0,
"no-redeclare": 0,
"no-console": 0,
"no-empty": 0,

View File

@@ -796,7 +796,7 @@ WysijaForm.DraggableItem = window.Class.create({
window.Droppables.hideArea();
},
starteffect: function (element) {
new window.Effect.Opacity(element, {
new window.Effect.Opacity(element, {// eslint-disable-line no-new
duration: 0.2,
from: element.getOpacity(),
to: 0.7