From f72cb2c0ad90cd8cf6de78caa525fe44823178b6 Mon Sep 17 00:00:00 2001 From: Miguel Camba Date: Wed, 13 Oct 2021 22:27:56 +0200 Subject: [PATCH] ESLint is the bane of my existence --- addon/modifiers/in-viewport.js | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/addon/modifiers/in-viewport.js b/addon/modifiers/in-viewport.js index e4e2900..e76d3fd 100644 --- a/addon/modifiers/in-viewport.js +++ b/addon/modifiers/in-viewport.js @@ -39,11 +39,7 @@ export default class InViewportModifier extends Modifier { @action onEnter(...args) { if (this.args.named.onEnter) { - this.args.named.onEnter.call( - null, - this.element, - ...args - ); + this.args.named.onEnter.call(null, this.element, ...args); } if (!this.options.viewportSpy) { @@ -54,11 +50,7 @@ export default class InViewportModifier extends Modifier { @action onExit(...args) { if (this.args.named.onExit) { - this.args.named.onExit.call( - null, - this.element, - ...args - ); + this.args.named.onExit.call(null, this.element, ...args); } }