diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2018-12-01 13:14:06 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2018-12-01 13:56:44 +0100 |
commit | 22adde79940d32c5f094f26f3e18b7160e7ccafc (patch) | |
tree | 8fb59939a8281e33c2c05c140409430c30ed5c58 /crocoite/data/scroll.js | |
parent | 6176991ac7ff0e6dcb4612b43da89abd350e3aa5 (diff) | |
download | crocoite-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.js | 4 |
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; }()) |