From 91bba13608aff9c8b7bea523859b0516dbc02785 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Wed, 14 Mar 2012 18:57:53 +0000 Subject: [PATCH] Started using shadow tiddlers Now the JavaScript modules and templates are put into the shadow store --- js/App.js | 15 ++++++--------- tiddlywiki5/tiddlers/ShadowTiddlers.tid | 3 +++ tiddlywiki5/tiddlywiki5.recipe | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) create mode 100644 tiddlywiki5/tiddlers/ShadowTiddlers.tid diff --git a/js/App.js b/js/App.js index 4bf2be69b..3090c3b7b 100644 --- a/js/App.js +++ b/js/App.js @@ -72,17 +72,14 @@ var App = function() { // If in the browser, load the tiddlers built into the TiddlyWiki document if(this.isBrowser) { // First, the JavaScript system tiddlers - var moduleArea = document.getElementById("jsModules"), - tiddlers = this.store.deserializeTiddlers("(DOM)",moduleArea); - for(t=0; t> diff --git a/tiddlywiki5/tiddlywiki5.recipe b/tiddlywiki5/tiddlywiki5.recipe index 8edcc6830..b787b8444 100644 --- a/tiddlywiki5/tiddlywiki5.recipe +++ b/tiddlywiki5/tiddlywiki5.recipe @@ -6,7 +6,7 @@ tiddler: tiddlers/*.tid tiddler: tiddlers/*.jpg tiddler: tiddlers/*.png tiddler: tiddlers/*.svg -tiddler: shadows/templates/*.tid +shadow: shadows/templates/*.tid #tiddler: http://wikitext.tiddlyspace.com/fractalveg.jpg # type: image/jpeg