aboutsummaryrefslogtreecommitdiff
path: root/emccpre.js
diff options
context:
space:
mode:
authorBen Harris <bjh21@bjh21.me.uk>2022-11-09 23:44:26 +0000
committerBen Harris <bjh21@bjh21.me.uk>2022-11-09 23:44:26 +0000
commitf7957d3aa080dcdfc4c6450ff2590c101b71d94b (patch)
treeb32b3858da73d0533ed968681a518f9ae7ecf8be /emccpre.js
parent7982002a644328164bf0f77bf489876ad012e90d (diff)
downloadpuzzles-f7957d3aa080dcdfc4c6450ff2590c101b71d94b.zip
puzzles-f7957d3aa080dcdfc4c6450ff2590c101b71d94b.tar.gz
puzzles-f7957d3aa080dcdfc4c6450ff2590c101b71d94b.tar.bz2
puzzles-f7957d3aa080dcdfc4c6450ff2590c101b71d94b.tar.xz
js: Reinstate a missing variable declaration
... and then decide there was no excuse for renaming the variable, so now it has the same name it had before I started using Window.requestAnimationFrame().
Diffstat (limited to 'emccpre.js')
-rw-r--r--emccpre.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/emccpre.js b/emccpre.js
index f9f0c18..349898e 100644
--- a/emccpre.js
+++ b/emccpre.js
@@ -90,6 +90,7 @@ var midpoint_test_str = "ABCDEFGHIKLMNOPRSTUVWXYZ0123456789";
var midpoint_cache = [];
// Variables used by js_activate_timer() and js_deactivate_timer().
+var timer = null;
var timer_active = false;
var timer_reference;