Actually supply a filename and run the function

This commit is contained in:
Jiiks 2017-01-11 11:25:20 +02:00
parent 0a55c0edae
commit 00dfb68677
1 changed files with 2 additions and 2 deletions

View File

@ -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) {