1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-27 18:40:28 +00:00

Coding style tweaks for #2885

This commit is contained in:
Jermolene 2017-06-09 16:21:39 +01:00
parent 0bc325025a
commit a4035d3424

View File

@ -2072,7 +2072,9 @@ $tw.boot.executeNextStartupTask = function(callback) {
}
taskIndex++;
}
if(typeof callback === 'function') callback();
if(typeof callback === 'function') {
callback();
}
return false;
};
@ -2168,7 +2170,7 @@ $tw.boot.boot = function(callback) {
// Preload any encrypted tiddlers
$tw.boot.decryptEncryptedTiddlers(function() {
// Startup
$tw.boot.startup({callback:callback});
$tw.boot.startup({callback: callback});
});
};