mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-08 05:46:05 +00:00
Split module loading into a separate startup task
Still a work in progress.
This commit is contained in:
@@ -13,7 +13,7 @@ Modules with their ''module-type'' field set to `startup`:
|
||||
* Must expose a `startup` function
|
||||
** For synchronous startup modules the startup function is called as `startup()`, asynchronous modules are passed a callback they must invoke on completion: `startup(callback)`
|
||||
* May expose a `name` property that is used to identify the task
|
||||
* May expose a `dependencies` property containing an array of names of dependent tasks that must be run before this one
|
||||
* May expose a `after` property containing an array of names of dependent tasks that must be run before this one
|
||||
|
||||
! Startup Processing
|
||||
|
||||
|
Reference in New Issue
Block a user