kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Add a boot hook for modifying the tiddler store
rodzic
689e172e79
commit
70f5dff81e
|
@ -2154,6 +2154,8 @@ $tw.boot.startup = function(options) {
|
|||
if($tw.preloadTiddlers) {
|
||||
$tw.wiki.addTiddlers($tw.preloadTiddlers);
|
||||
}
|
||||
// Give hooks a chance to modify the store
|
||||
$tw.hooks.invokeHook("th-boot-tiddlers-loaded");
|
||||
// Unpack plugin tiddlers
|
||||
$tw.wiki.readPluginInfo();
|
||||
$tw.wiki.registerPluginTiddlers("plugin",$tw.safeMode ? ["$:/core"] : undefined);
|
||||
|
|
Ładowanie…
Reference in New Issue