From 717c72b5db4d0e692b752d5acade366c9b168f2c Mon Sep 17 00:00:00 2001 From: Victor Häggqvist Date: Fri, 15 Jan 2016 01:25:59 +0100 Subject: cleaning --- src/LightBox.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/LightBox.js b/src/LightBox.js index f338652..abfbd0e 100644 --- a/src/LightBox.js +++ b/src/LightBox.js @@ -1,9 +1,9 @@ /** - * Created by Victor Häggqvist on 1/12/16. + * @author Victor Häggqvist + * @since 2016-01-12 */ import {CSSUtil} from './CSSUtil' -import {animate} from './animate' import {LightDirection} from './LightDirection' var log = require('loglevel'); @@ -40,8 +40,6 @@ export class LightBox { this.swipeStart = 0; this.swipeEnd = 0; - this.imagePosLeft = 0; - this.onStartListeners = []; this.onEndListeners = []; @@ -64,8 +62,6 @@ export class LightBox { if (this.options.enableKeyboard) { document.body.addEventListener('keyup', this.handleKeyboard.bind(this)); } - - //document.querySelector('#'+this.options.selectorId).addEventListener('click', this.floatingImageClick.bind(this)); } handleKeyboard(e) { -- cgit v1.2.3