mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-05 05:06:40 +00:00
Add support for externalising TW's JavaScript (#3423)
* Explore externalising TiddlyWiki's JS core into a separate file * Fix missing newline after copyright notice * Add an error alert if tiddlywiki.js can't be loaded
This commit is contained in:
15
core/templates/external-js/tiddlywiki.js.tid
Normal file
15
core/templates/external-js/tiddlywiki.js.tid
Normal file
@@ -0,0 +1,15 @@
|
||||
title: $:/core/templates/tiddlywiki5.js
|
||||
|
||||
\rules only filteredtranscludeinline transcludeinline codeinline
|
||||
|
||||
/*
|
||||
{{ $:/core/copyright.txt ||$:/core/templates/plain-text-tiddler}}
|
||||
`*/
|
||||
`<!--~~ Library modules ~~-->
|
||||
{{{ [is[system]type[application/javascript]library[yes]] ||$:/core/templates/plain-text-tiddler}}}
|
||||
<!--~~ Boot prefix ~~-->
|
||||
{{ $:/boot/bootprefix.js ||$:/core/templates/plain-text-tiddler}}
|
||||
<!--~~ Core plugin ~~-->
|
||||
{{$:/core/templates/tiddlywiki5.js/tiddlers}}
|
||||
<!--~~ Boot kernel ~~-->
|
||||
{{ $:/boot/boot.js ||$:/core/templates/plain-text-tiddler}}
|
||||
Reference in New Issue
Block a user