mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-25 17:40:29 +00:00
Added support for browser startup modules
This commit is contained in:
parent
9e8b665b8b
commit
c39654917f
@ -39,6 +39,11 @@ exports.startup = function() {
|
|||||||
$tw.Commander.initCommands();
|
$tw.Commander.initCommands();
|
||||||
// Host-specific startup
|
// Host-specific startup
|
||||||
if($tw.browser) {
|
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
|
// Install the popup manager
|
||||||
$tw.popup = new $tw.utils.Popup({
|
$tw.popup = new $tw.utils.Popup({
|
||||||
wiki: $tw.wiki,
|
wiki: $tw.wiki,
|
||||||
|
Loading…
Reference in New Issue
Block a user