1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 17:10:29 +00:00

Added support for browser startup modules

This commit is contained in:
Jeremy Ruston 2012-09-12 10:46:28 +01:00
parent 9e8b665b8b
commit c39654917f

View File

@ -39,6 +39,11 @@ exports.startup = function() {
$tw.Commander.initCommands();
// Host-specific startup
if($tw.browser) {
// Call browser startup modules
var modules = $tw.modules.types["browser-startup"];
for(var m=0; m<modules.length; m++) {
modules[m].startup();
}
// Install the popup manager
$tw.popup = new $tw.utils.Popup({
wiki: $tw.wiki,