mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-04-02 08:46:56 +00:00
Removed outdated comment
This commit is contained in:
parent
9a36dc61ec
commit
6c76670137
15
boot/boot.js
15
boot/boot.js
@ -4,20 +4,7 @@ type: application/javascript
|
||||
|
||||
The main boot kernel for TiddlyWiki. This single file creates a barebones TW environment that is just sufficient to bootstrap the modules containing the main logic of the application.
|
||||
|
||||
On the server this file is executed directly to boot TiddlyWiki. In the browser, this file is packed into a single HTML file along with other elements:
|
||||
|
||||
# bootprefix.js
|
||||
# <module definitions>
|
||||
# boot.js
|
||||
|
||||
The module definitions on the browser look like this:
|
||||
|
||||
$tw.defineModule("MyModule","moduletype",function(module,exports,require) {
|
||||
// Module code inserted here
|
||||
return exports;
|
||||
});
|
||||
|
||||
In practice, each module is wrapped in a separate script block.
|
||||
On the server this file is executed directly to boot TiddlyWiki. In the browser, this file is packed into a single HTML file.
|
||||
|
||||
\*/
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user