mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 05:19:57 +00:00
More consistent naming for the boot tiddlers
This commit is contained in:
parent
43c9ec6396
commit
c566284158
@ -1,4 +1,4 @@
|
|||||||
title: $:/core/styles/boot.css
|
title: $:/boot/boot.css
|
||||||
type: text/css
|
type: text/css
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*\
|
/*\
|
||||||
title: $:/core/boot.js
|
title: $:/boot/boot.js
|
||||||
type: application/javascript
|
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.
|
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.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*\
|
/*\
|
||||||
title: $:/core/bootprefix.js
|
title: $:/boot/bootprefix.js
|
||||||
type: application/javascript
|
type: application/javascript
|
||||||
|
|
||||||
This file sets up the globals that need to be available when JavaScript modules are executed in the browser. The overall sequence is:
|
This file sets up the globals that need to be available when JavaScript modules are executed in the browser. The overall sequence is:
|
||||||
|
@ -31,7 +31,7 @@ title: $:/core/templates/tiddlywiki5.template.html
|
|||||||
</noscript>
|
</noscript>
|
||||||
<!----------- Miscellaneous system tiddlers ----------->
|
<!----------- Miscellaneous system tiddlers ----------->
|
||||||
<div id="systemArea" style="display:none;">
|
<div id="systemArea" style="display:none;">
|
||||||
{{{ [is[system]] -[type[text/css]] -[type[application/javascript]has[module-type]] -[type[application/javascript]library[yes]] -[[$:/core/boot.js]] -[[$:/core/bootprefix.js]] ||$:/core/templates/html-div-tiddler}}}
|
{{{ [is[system]] -[type[text/css]] -[type[application/javascript]has[module-type]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] ||$:/core/templates/html-div-tiddler}}}
|
||||||
</div>
|
</div>
|
||||||
<!----------- Ordinary tiddlers ----------->
|
<!----------- Ordinary tiddlers ----------->
|
||||||
{{$:/core/templates/store.area.template.html}}
|
{{$:/core/templates/store.area.template.html}}
|
||||||
@ -42,7 +42,7 @@ title: $:/core/templates/tiddlywiki5.template.html
|
|||||||
</div>
|
</div>
|
||||||
<!----------- Boot kernel prologue ----------->
|
<!----------- Boot kernel prologue ----------->
|
||||||
<div id="bootKernelPrefix" style="display:none;">
|
<div id="bootKernelPrefix" style="display:none;">
|
||||||
{{ $:/core/bootprefix.js ||$:/core/templates/javascript-tiddler}}
|
{{ $:/boot/bootprefix.js ||$:/core/templates/javascript-tiddler}}
|
||||||
</div>
|
</div>
|
||||||
<!----------- Plugin modules ----------->
|
<!----------- Plugin modules ----------->
|
||||||
<div id="modules" style="display:none;">
|
<div id="modules" style="display:none;">
|
||||||
@ -50,7 +50,7 @@ title: $:/core/templates/tiddlywiki5.template.html
|
|||||||
</div>
|
</div>
|
||||||
<!----------- Boot kernel ----------->
|
<!----------- Boot kernel ----------->
|
||||||
<div id="bootKernel" style="display:none;">
|
<div id="bootKernel" style="display:none;">
|
||||||
{{ $:/core/boot.js ||$:/core/templates/javascript-tiddler}}
|
{{ $:/boot/boot.js ||$:/core/templates/javascript-tiddler}}
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -7,4 +7,4 @@ The heart of TiddlyWiki can be seen as an extensible representation transformati
|
|||||||
|
|
||||||
The primary use of the engine is to convert raw `text/vnd.tiddlywiki` WikiText into a `text/html` or `text/plain` representation for display. The transclusion and templating features of WikiText allow the engine to also be used to generate TiddlyWiki HTML files from raw tiddlers.
|
The primary use of the engine is to convert raw `text/vnd.tiddlywiki` WikiText into a `text/html` or `text/plain` representation for display. The transclusion and templating features of WikiText allow the engine to also be used to generate TiddlyWiki HTML files from raw tiddlers.
|
||||||
|
|
||||||
If you're interested in understanding more about the internal operation of TiddlyWiki, it is recommended that you review the DeveloperDocs and read the code -- start with the boot kernel [[$:/core/boot.js]].
|
If you're interested in understanding more about the internal operation of TiddlyWiki, it is recommended that you review the DeveloperDocs and read the code -- start with the boot kernel [[$:/boot/boot.js]].
|
@ -15,7 +15,7 @@ Some plugin modules have further sub-plugins: the wikitext parser, for instance,
|
|||||||
|
|
||||||
In TiddlyWiki5, [[Plugins]] are bundles of tiddlers that are distributed and managed as one; [[Modules]] are JavaScript tiddlers with a module type identifying when and how they should be executed.
|
In TiddlyWiki5, [[Plugins]] are bundles of tiddlers that are distributed and managed as one; [[Modules]] are JavaScript tiddlers with a module type identifying when and how they should be executed.
|
||||||
|
|
||||||
The tiddler [[$:/core/boot.js]] is a barebones TiddlyWiki kernel that is just sufficient to load the core plugin modules and trigger a startup module to load up the rest of the application.
|
The tiddler [[$:/boot/boot.js]] is a barebones TiddlyWiki kernel that is just sufficient to load the core plugin modules and trigger a startup module to load up the rest of the application.
|
||||||
|
|
||||||
The kernel includes:
|
The kernel includes:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user