More consistent naming for the boot tiddlers

print-window-tiddler
Jeremy Ruston 2013-05-31 16:53:19 +01:00
rodzic 43c9ec6396
commit c566284158
6 zmienionych plików z 8 dodań i 8 usunięć

Wyświetl plik

@ -1,4 +1,4 @@
title: $:/core/styles/boot.css
title: $:/boot/boot.css
type: text/css
/*

Wyświetl plik

@ -1,5 +1,5 @@
/*\
title: $:/core/boot.js
title: $:/boot/boot.js
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.

Wyświetl plik

@ -1,5 +1,5 @@
/*\
title: $:/core/bootprefix.js
title: $:/boot/bootprefix.js
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:

Wyświetl plik

@ -31,7 +31,7 @@ title: $:/core/templates/tiddlywiki5.template.html
</noscript>
<!----------- Miscellaneous system tiddlers ----------->
<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>
<!----------- Ordinary tiddlers ----------->
{{$:/core/templates/store.area.template.html}}
@ -42,7 +42,7 @@ title: $:/core/templates/tiddlywiki5.template.html
</div>
<!----------- Boot kernel prologue ----------->
<div id="bootKernelPrefix" style="display:none;">
{{ $:/core/bootprefix.js ||$:/core/templates/javascript-tiddler}}
{{ $:/boot/bootprefix.js ||$:/core/templates/javascript-tiddler}}
</div>
<!----------- Plugin modules ----------->
<div id="modules" style="display:none;">
@ -50,7 +50,7 @@ title: $:/core/templates/tiddlywiki5.template.html
</div>
<!----------- Boot kernel ----------->
<div id="bootKernel" style="display:none;">
{{ $:/core/boot.js ||$:/core/templates/javascript-tiddler}}
{{ $:/boot/boot.js ||$:/core/templates/javascript-tiddler}}
</div>
</body>
</html>

Wyświetl plik

@ -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.
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]].

Wyświetl plik

@ -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.
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: