diff --git a/boot/boot.js b/boot/boot.js index b14facde5..6ac64c586 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -2578,10 +2578,10 @@ $tw.boot.execStartup = function(options){ if($tw.safeMode) { $tw.wiki.processSafeMode(); } - // Register typed modules from the tiddlers we've just loaded - $tw.wiki.defineTiddlerModules(); - // And any modules within plugins + // Register typed modules from the tiddlers we've just loaded and any modules within plugins + // Tiddlers should appear last so that they may overwrite shadows during module registration $tw.wiki.defineShadowModules(); + $tw.wiki.defineTiddlerModules(); // Make sure the crypto state tiddler is up to date if($tw.crypto) { $tw.crypto.updateCryptoStateTiddler();