Remove debug and change version to release
This commit is contained in:
parent
f9e80edb2a
commit
9b5d4caf05
9 changed files with 1 additions and 43 deletions
|
@ -8,17 +8,14 @@ window.PERSISTENT_IMPLEMENTATIONS = {
|
|||
function localStorageImplementation() {
|
||||
return {
|
||||
readSaveFileUTF8(path) {
|
||||
console.log(`Failed to get externalStorage. Using localStorage to read save at ${path}`);
|
||||
return localStorage.getItem(path);
|
||||
},
|
||||
|
||||
saveFileExists(path) {
|
||||
console.log(`Using localStorage while checking save file ${path} existence`);
|
||||
return localStorage.getItem(path) != null;
|
||||
},
|
||||
|
||||
writeSaveFileUTF8(path, data) {
|
||||
console.log(`Failed to get externalStorage. Writing ${path} save file to the localStorage`);
|
||||
localStorage.setItem(path, data);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue