Skip to content

Commit

Permalink
ESLint is the bane of my existence
Browse files Browse the repository at this point in the history
  • Loading branch information
cibernox committed Oct 13, 2021
1 parent 7a3b63f commit f72cb2c
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions addon/modifiers/in-viewport.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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);
}
}

Expand Down

0 comments on commit f72cb2c

Please sign in to comment.