mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-09 15:40:03 +00:00
No longer save system modules separately in the main HTML template
These tiddlers were being handled as `<script>` tags to make it easier to debug them. But in fact modern dev tools are quite happy to debug code that has been eval’d, and this arrangement was causing problems for importing. Fixes #335
This commit is contained in:
parent
45c45e098f
commit
762940adbc
@ -1,6 +1,6 @@
|
|||||||
title: $:/core/save/all
|
title: $:/core/save/all
|
||||||
|
|
||||||
\define saveTiddlerFilter()
|
\define saveTiddlerFilter()
|
||||||
[is[tiddler]] -[type[text/css]] -[type[application/javascript]has[module-type]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]]
|
[is[tiddler]] -[type[text/css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]]
|
||||||
\end
|
\end
|
||||||
{{$:/core/templates/tiddlywiki5.html}}
|
{{$:/core/templates/tiddlywiki5.html}}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
title: $:/core/save/empty
|
title: $:/core/save/empty
|
||||||
|
|
||||||
\define saveTiddlerFilter()
|
\define saveTiddlerFilter()
|
||||||
[is[system]] -[type[text/css]] -[type[application/javascript]has[module-type]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]]
|
[is[system]] -[type[text/css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]]
|
||||||
\end
|
\end
|
||||||
{{$:/core/templates/tiddlywiki5.html}}
|
{{$:/core/templates/tiddlywiki5.html}}
|
||||||
|
@ -42,10 +42,6 @@ title: $:/core/templates/tiddlywiki5.html
|
|||||||
<div id="bootKernelPrefix" style="display:none;">
|
<div id="bootKernelPrefix" style="display:none;">
|
||||||
{{ $:/boot/bootprefix.js ||$:/core/templates/javascript-tiddler}}
|
{{ $:/boot/bootprefix.js ||$:/core/templates/javascript-tiddler}}
|
||||||
</div>
|
</div>
|
||||||
<!--~~ Static modules ~~-->
|
|
||||||
<div id="modules" style="display:none;">
|
|
||||||
{{{ [is[system]type[application/javascript]has[module-type]] ||$:/core/templates/module-tiddler}}}
|
|
||||||
</div>
|
|
||||||
<!--~~ Boot kernel ~~-->
|
<!--~~ Boot kernel ~~-->
|
||||||
<div id="bootKernel" style="display:none;">
|
<div id="bootKernel" style="display:none;">
|
||||||
{{ $:/boot/boot.js ||$:/core/templates/javascript-tiddler}}
|
{{ $:/boot/boot.js ||$:/core/templates/javascript-tiddler}}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
title: $:/editions/tw5.com/download-empty
|
title: $:/editions/tw5.com/download-empty
|
||||||
|
|
||||||
\define saveTiddlerFilter()
|
\define saveTiddlerFilter()
|
||||||
[[$:/core]] [[$:/isEncrypted]] [[$:/plugins/tiddlywiki/fullscreen]] [[$:/themes/tiddlywiki/snowwhite]] [[$:/themes/tiddlywiki/vanilla]] -[type[text/css]] -[type[application/javascript]has[module-type]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]]
|
[[$:/core]] [[$:/isEncrypted]] [[$:/plugins/tiddlywiki/fullscreen]] [[$:/themes/tiddlywiki/snowwhite]] [[$:/themes/tiddlywiki/vanilla]] -[type[text/css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]]
|
||||||
\end
|
\end
|
||||||
\define savingEmpty()
|
\define savingEmpty()
|
||||||
yes
|
yes
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
title: $:/editions/clientserver/download-offline
|
title: $:/editions/clientserver/download-offline
|
||||||
|
|
||||||
\define saveTiddlerFilter()
|
\define saveTiddlerFilter()
|
||||||
[is[tiddler]] -[type[text/css]] -[type[application/javascript]has[module-type]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] -[[$:/plugins/tiddlywiki/filesystem]] -[[$:/plugins/tiddlywiki/tiddlyweb]] +[sort[title]]
|
[is[tiddler]] -[type[text/css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] -[[$:/plugins/tiddlywiki/filesystem]] -[[$:/plugins/tiddlywiki/tiddlyweb]] +[sort[title]]
|
||||||
\end
|
\end
|
||||||
{{$:/core/templates/tiddlywiki5.html}}
|
{{$:/core/templates/tiddlywiki5.html}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user