From d4951d1fe8be0941df9cafbfe57c21d26f66e8ee Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sun, 24 Dec 2017 10:23:09 +0100 Subject: Refactor behavior scripts No functional changes, just cleanup. Replaces onload and onsnapshot events. Move screen metric emulation, DOM snapshots and screenshots here as well. --- crocoite/data/scroll.js | 1 + 1 file changed, 1 insertion(+) (limited to 'crocoite/data') diff --git a/crocoite/data/scroll.js b/crocoite/data/scroll.js index 2b4dff1..0d1a4a7 100644 --- a/crocoite/data/scroll.js +++ b/crocoite/data/scroll.js @@ -1,5 +1,6 @@ /* Continuously scrolls the page */ +var __crocoite_stop__ = false; (function(){ function scroll (event) { if (__crocoite_stop__) { -- cgit v1.2.3