From: Joe Wreschnig Date: Tue, 12 Nov 2013 10:04:48 +0000 (+0100) Subject: Firefox compatibility issues. X-Git-Url: https://git.yukkurigames.com/?p=webcart1000.git;a=commitdiff_plain;h=e03388a6909884f29039b6109489134a531ae62e;hp=bf2f4aae3dabe1fa75e18482fad7829cfd088b48 Firefox compatibility issues. --- 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); }