summaryrefslogtreecommitdiff
path: root/crocoite/data/scroll.js
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2018-12-01 13:14:06 +0100
committerLars-Dominik Braun <lars@6xq.net>2018-12-01 13:56:44 +0100
commit22adde79940d32c5f094f26f3e18b7160e7ccafc (patch)
tree8fb59939a8281e33c2c05c140409430c30ed5c58 /crocoite/data/scroll.js
parent6176991ac7ff0e6dcb4612b43da89abd350e3aa5 (diff)
downloadcrocoite-22adde79940d32c5f094f26f3e18b7160e7ccafc.tar.gz
crocoite-22adde79940d32c5f094f26f3e18b7160e7ccafc.tar.bz2
crocoite-22adde79940d32c5f094f26f3e18b7160e7ccafc.zip
behavior: Move click script data to external file
First step of issue #3
Diffstat (limited to 'crocoite/data/scroll.js')
-rw-r--r--crocoite/data/scroll.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/crocoite/data/scroll.js b/crocoite/data/scroll.js
index aacfe83..be88edf 100644
--- a/crocoite/data/scroll.js
+++ b/crocoite/data/scroll.js
@@ -2,7 +2,7 @@
*/
(function(){
class Scroll {
- constructor () {
+ constructor (options) {
this.scrolled = new Map ();
this.interval = window.setInterval (this.scroll.bind (this), 200);
}
@@ -34,5 +34,5 @@ class Scroll {
}
}
-return new Scroll();
+return Scroll;
}())