fix some localStorage bugs
This commit is contained in:
parent
cd6304d8b7
commit
09a3537dc1
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ Ox.localStorage <o> localStorage wrapper
|
||||||
Ox.localStorage = function(namespace) {
|
Ox.localStorage = function(namespace) {
|
||||||
window.localStorage = window.localStorage || {};
|
window.localStorage = window.localStorage || {};
|
||||||
function storage(key, val) {
|
function storage(key, val) {
|
||||||
var ret, value;
|
var args, ret, value;
|
||||||
if (arguments.length == 0) {
|
if (arguments.length == 0) {
|
||||||
ret = {};
|
ret = {};
|
||||||
Ox.forEach(localStorage, function(val, key) {
|
Ox.forEach(localStorage, function(val, key) {
|
||||||
|
|
Loading…
Reference in a new issue