Add a boot hook for modifying the tiddler store

allow-filter-duplicates
Jermolene 2019-02-03 12:01:57 +00:00
rodzic 689e172e79
commit 70f5dff81e
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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);