diff options
author | Victor Häggqvist <[email protected]> | 2016-01-15 01:25:59 +0100 |
---|---|---|
committer | Victor Häggqvist <[email protected]> | 2016-01-15 01:25:59 +0100 |
commit | 717c72b5db4d0e692b752d5acade366c9b168f2c (patch) | |
tree | 66914f2fd229103e1f3838bc6b08e85938b0d6f4 /src/LightBox.js | |
parent | bd6d2f8cca1405b2eaee147bc4106974dbbd7882 (diff) |
cleaning
Diffstat (limited to 'src/LightBox.js')
-rw-r--r-- | src/LightBox.js | 8 |
1 files 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) { |