From 22adde79940d32c5f094f26f3e18b7160e7ccafc Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 1 Dec 2018 13:14:06 +0100 Subject: behavior: Move click script data to external file First step of issue #3 --- crocoite/data/scroll.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crocoite/data/scroll.js') 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; }()) -- cgit v1.2.3