From: Joe Wreschnig Date: Tue, 12 Nov 2013 00:50:41 +0000 (+0100) Subject: Prefix storage keys. X-Git-Url: https://git.yukkurigames.com/?a=commitdiff_plain;h=bf2f4aae3dabe1fa75e18482fad7829cfd088b48;p=webcart1000.git Prefix storage keys. --- diff --git a/o_o.js b/o_o.js index 85ee9da..4ec46f9 100644 --- a/o_o.js +++ b/o_o.js @@ -32,7 +32,7 @@ function generateMessage () { var r = {}; for (var k in KEYS) - r[k] = KEYS[k](localStorage[k]); + r[k] = KEYS[k](localStorage["WEBCART1000 " + k]); return r; } @@ -41,7 +41,7 @@ return; for (var k in KEYS) { if (k in data) { - localStorage[k] = KEYS[k](data[k]); + localStorage["WEBCART1000 " + k] = KEYS[k](data[k]); } } }