X-Git-Url: https://git.yukkurigames.com/?p=webcart1000.git;a=blobdiff_plain;f=webcart1000.js;h=c88b9b3e55e073315d8b0f520865e48a7b552bee;hp=5ede7f94422e5fb8d2c9e547b8061d32427488c2;hb=e03388a6909884f29039b6109489134a531ae62e;hpb=64c651ce5f394030fa7010c9847d459cbbeab16e diff --git a/webcart1000.js b/webcart1000.js index 5ede7f9..c88b9b3 100644 --- a/webcart1000.js +++ b/webcart1000.js @@ -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); }