mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-29 11:30:28 +00:00
9b9e443c73
* Fix lazy all template with user defined macro cause error Fixes https://github.com/Jermolene/TiddlyWiki5/issues/6637 * fix: exclude the SJCL library when saving @Jermolene said: The construction -[type[application/javascript]library[yes]] is used in the core as a rather clumsy way to exclude the SJCL library when saving. The same construction is in the usual $:/core/save/all filter too. It's possible that we should review unintended side effects of that behaviour, but here we should leave it alone.
10 lines
418 B
Plaintext
10 lines
418 B
Plaintext
title: $:/core/save/lazy-all
|
|
|
|
\define saveTiddlerFilter()
|
|
[is[system]] -[prefix[$:/state/popup/]] -[[$:/HistoryList]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] [is[tiddler]type[application/javascript]] +[sort[title]]
|
|
\end
|
|
\define skinnySaveTiddlerFilter()
|
|
[!is[system]] -[type[application/javascript]]
|
|
\end
|
|
{{$:/core/templates/tiddlywiki5.html}}
|