summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Häggqvist <[email protected]>2016-01-15 01:25:59 +0100
committerVictor Häggqvist <[email protected]>2016-01-15 01:25:59 +0100
commit717c72b5db4d0e692b752d5acade366c9b168f2c (patch)
tree66914f2fd229103e1f3838bc6b08e85938b0d6f4
parentbd6d2f8cca1405b2eaee147bc4106974dbbd7882 (diff)
cleaning
-rw-r--r--src/LightBox.js8
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) {