Firefox compatibility issues.
[webcart1000.git] / webcart1000.js
index 5ede7f9..c88b9b3 100644 (file)
@@ -1,3 +1,12 @@
+/* The person who associated a work with this deed has dedicated the
+   work to the public domain by waiving all of his or her rights to
+   the work worldwide under copyright law, including all related and
+   neighboring rights, to the extent allowed by law.
+
+   You can copy, modify, distribute and perform the work, even for
+   commercial purposes, all without asking permission.
+*/
+
 (function () {
     "use strict";
 
@@ -7,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); }