Actually supply a filename and run the function
This commit is contained in:
parent
0a55c0edae
commit
00dfb68677
|
@ -28,11 +28,11 @@
|
|||
return __ls[i];
|
||||
};
|
||||
__ls.push = function() {
|
||||
__fs.writeFileSync(JSON.stringify(__ls));
|
||||
__fs.writeFileSync("localStorage.json", JSON.stringify(__ls), null, 4);
|
||||
};
|
||||
|
||||
window.localStorage = __ls;
|
||||
});
|
||||
})();
|
||||
|
||||
window.bdStorage = {};
|
||||
window.bdStorage.get = function(i) {
|
||||
|
|
Loading…
Reference in New Issue