Fix eslint no-new in es5 files
[MAILPOET-1146]
This commit is contained in:
committed by
Rostislav Wolný
parent
86e01ce5de
commit
fa44127efa
@@ -20,7 +20,6 @@
|
|||||||
"no-restricted-syntax": 0,
|
"no-restricted-syntax": 0,
|
||||||
"no-useless-concat": 0,
|
"no-useless-concat": 0,
|
||||||
"no-nested-ternary": 0,
|
"no-nested-ternary": 0,
|
||||||
"no-new": 0,
|
|
||||||
"no-redeclare": 0,
|
"no-redeclare": 0,
|
||||||
"no-console": 0,
|
"no-console": 0,
|
||||||
"no-empty": 0,
|
"no-empty": 0,
|
||||||
|
@@ -796,7 +796,7 @@ WysijaForm.DraggableItem = window.Class.create({
|
|||||||
window.Droppables.hideArea();
|
window.Droppables.hideArea();
|
||||||
},
|
},
|
||||||
starteffect: function (element) {
|
starteffect: function (element) {
|
||||||
new window.Effect.Opacity(element, {
|
new window.Effect.Opacity(element, {// eslint-disable-line no-new
|
||||||
duration: 0.2,
|
duration: 0.2,
|
||||||
from: element.getOpacity(),
|
from: element.getOpacity(),
|
||||||
to: 0.7
|
to: 0.7
|
||||||
|
Reference in New Issue
Block a user