1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-26 01:50:28 +00:00
TiddlyWiki5/core/templates/external-js
Jermolene f2a38960fc Fix external JS template to work with the TW5 webserver
It's a bit gross that we have to change the filename used to reference the JS file. This is to make it work with the webserver.

At the moment, the webserver exposes system tiddlers as plain text renderings, and ordinary tiddlers as full HTML renderings through a view template. So we have to use a system tiddler title for the JS file.

The workaround I'm thinking of is to remove the blanket exposure of system tiddlers, and instead have a list of system tiddlers that are specifically exposed through a namespace like `127.0.0.1:8080\lib\tiddlywiki.js`. That can't clash with a tiddler title because tiddler titles are URI encoded and so can't contain slashes.
2018-09-05 08:57:29 +01:00
..
save-all-external-js.tid Add support for externalising TW's JavaScript (#3423) 2018-09-05 08:44:27 +01:00
tiddlywiki5-external-js.html.tid Fix external JS template to work with the TW5 webserver 2018-09-05 08:57:29 +01:00
tiddlywiki.js.tid Add support for externalising TW's JavaScript (#3423) 2018-09-05 08:44:27 +01:00
tiddlywiki.js.tiddlers.tid Add support for externalising TW's JavaScript (#3423) 2018-09-05 08:44:27 +01:00