From e5bea864eea366b0a22df6536e37f54d936e15e1 Mon Sep 17 00:00:00 2001 From: Leo Bernard Date: Fri, 16 Mar 2018 02:43:06 +0100 Subject: [PATCH] :fire: Remove unused url variable in animation method --- src/element.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/element.ts b/src/element.ts index c0ae586..7bbd64c 100644 --- a/src/element.ts +++ b/src/element.ts @@ -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