From e03388a6909884f29039b6109489134a531ae62e Mon Sep 17 00:00:00 2001 From: Joe Wreschnig Date: Tue, 12 Nov 2013 11:04:48 +0100 Subject: [PATCH 1/1] Firefox compatibility issues. --- index.html | 2 +- webcart1000.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 7e7dc7f..89c2d94 100644 --- a/index.html +++ b/index.html @@ -16,7 +16,7 @@ diff --git a/webcart1000.js b/webcart1000.js index 170617f..c88b9b3 100644 --- a/webcart1000.js +++ b/webcart1000.js @@ -16,6 +16,7 @@ var wc1kWindow; var saveData; var _this = this; + this.data = scrub(); function clamp (i, hi) { return Math.max(0, Math.min(hi, +i | 0)); } function force10 (i) { return clamp(i, 1023); } -- 2.20.1