1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-26 19:47:20 +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++; taskIndex++;
} }
if(typeof callback === 'function') callback(); if(typeof callback === 'function') {
callback();
}
return false; return false;
}; };
@ -2168,7 +2170,7 @@ $tw.boot.boot = function(callback) {
// Preload any encrypted tiddlers // Preload any encrypted tiddlers
$tw.boot.decryptEncryptedTiddlers(function() { $tw.boot.decryptEncryptedTiddlers(function() {
// Startup // Startup
$tw.boot.startup({callback:callback}); $tw.boot.startup({callback: callback});
}); });
}; };