mirror of https://github.com/keeweb/keeweb.git
Fix formatting
This commit is contained in:
parent
b8f027dad4
commit
017c03a4e0
|
@ -8,4 +8,4 @@ if(window.cordova) {
|
|||
document.addEventListener('deviceready', bootstrap, false);
|
||||
} else {
|
||||
bootstrap();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -97,4 +97,4 @@ $(() => {
|
|||
return match[1];
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
@ -63,7 +63,7 @@ let Launcher = {
|
|||
} catch(e) {
|
||||
error(e);
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
readFile: function(path, callback, error) {
|
||||
try {
|
||||
|
@ -264,4 +264,4 @@ if (window.launcherOpenedFile) {
|
|||
delete window.launcherOpenedFile;
|
||||
}
|
||||
|
||||
module.exports = Launcher;
|
||||
module.exports = Launcher;
|
||||
|
|
|
@ -87,7 +87,7 @@ const StorageFileCache = StorageBase.extend({
|
|||
|
||||
Launcher.fileExists(path, exists => {
|
||||
if (exists) {
|
||||
Launcher.deleteFile(path, () => {
|
||||
Launcher.deleteFile(path, () => {
|
||||
this.logger.debug('Removed', id, this.logger.ts(ts));
|
||||
if (callback) {
|
||||
callback();
|
||||
|
|
|
@ -25,7 +25,7 @@ const StorageFile = StorageBase.extend({
|
|||
|
||||
Launcher.readFile(path, data => {
|
||||
Launcher.statFile(path, stat => {
|
||||
|
||||
|
||||
const rev = stat.mtime.getTime().toString();
|
||||
this.logger.debug('Loaded', path, rev, this.logger.ts(ts));
|
||||
if (callback) {
|
||||
|
|
Loading…
Reference in New Issue