Skip to content

Commit

Permalink
🔥 Remove unused url variable in animation method
Browse files Browse the repository at this point in the history
  • Loading branch information
leolabs committed Mar 16, 2018
1 parent 98bdfd4 commit e5bea86
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,6 @@ export default class KenBurnsCarousel extends HTMLElement {

private animate(images: string[]) {
const insert = (index: number, el: HTMLImageElement) => {
const url = images[index];

const random = Math.random();
const animationIndex = Math.floor(random * this.animationNames.length);
const direction = this.animationDirection === Direction.Random
Expand Down

0 comments on commit e5bea86

Please sign in to comment.