mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2025-12-05 18:20:38 -08:00
Preserve the module insertion order in forEachModuleOfType (#9305)
* Initial commit
* Update testcase
* Revert "Update testcase"
This reverts commit 0d24c4233f.
* Revert initial commit and swap definition order
This commit is contained in:
parent
d7e48207b9
commit
0b38ced43a
1 changed files with 3 additions and 3 deletions
|
|
@ -2578,10 +2578,10 @@ $tw.boot.execStartup = function(options){
|
||||||
if($tw.safeMode) {
|
if($tw.safeMode) {
|
||||||
$tw.wiki.processSafeMode();
|
$tw.wiki.processSafeMode();
|
||||||
}
|
}
|
||||||
// Register typed modules from the tiddlers we've just loaded
|
// Register typed modules from the tiddlers we've just loaded and any modules within plugins
|
||||||
$tw.wiki.defineTiddlerModules();
|
// Tiddlers should appear last so that they may overwrite shadows during module registration
|
||||||
// And any modules within plugins
|
|
||||||
$tw.wiki.defineShadowModules();
|
$tw.wiki.defineShadowModules();
|
||||||
|
$tw.wiki.defineTiddlerModules();
|
||||||
// Make sure the crypto state tiddler is up to date
|
// Make sure the crypto state tiddler is up to date
|
||||||
if($tw.crypto) {
|
if($tw.crypto) {
|
||||||
$tw.crypto.updateCryptoStateTiddler();
|
$tw.crypto.updateCryptoStateTiddler();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue