From 91002165afeab2c102ead5e0d47de6c3c8aa9789 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Sat, 9 Feb 2013 17:10:18 +0000 Subject: [PATCH] Update TW2 edition Move the plugins into the core, add a template for the externaljs distribution of TW --- editions/tw2/tiddlywiki.info | 6 ++++++ editions/tw2/wiki/tiddlywiki2.externaljs.template.html.tid | 7 +++++++ .../tiddlywiki}/loadrecipe/plugin.bundle | 0 .../plugins => plugins/tiddlywiki}/loadrecipe/recipe.js | 0 .../tiddlywiki}/stripcomments/plugin.bundle | 0 .../tiddlywiki}/stripcomments/stripcomments.js | 0 6 files changed, 13 insertions(+) create mode 100644 editions/tw2/tiddlywiki.info create mode 100644 editions/tw2/wiki/tiddlywiki2.externaljs.template.html.tid rename {editions/tw2/plugins => plugins/tiddlywiki}/loadrecipe/plugin.bundle (100%) rename {editions/tw2/plugins => plugins/tiddlywiki}/loadrecipe/recipe.js (100%) rename {editions/tw2/plugins => plugins/tiddlywiki}/stripcomments/plugin.bundle (100%) rename {editions/tw2/plugins => plugins/tiddlywiki}/stripcomments/stripcomments.js (100%) diff --git a/editions/tw2/tiddlywiki.info b/editions/tw2/tiddlywiki.info new file mode 100644 index 000000000..13d157292 --- /dev/null +++ b/editions/tw2/tiddlywiki.info @@ -0,0 +1,6 @@ +{ + "plugins": [ + "tiddlywiki/loadrecipe", + "tiddlywiki/stripcomments" + ] +} \ No newline at end of file diff --git a/editions/tw2/wiki/tiddlywiki2.externaljs.template.html.tid b/editions/tw2/wiki/tiddlywiki2.externaljs.template.html.tid new file mode 100644 index 000000000..980000027 --- /dev/null +++ b/editions/tw2/wiki/tiddlywiki2.externaljs.template.html.tid @@ -0,0 +1,7 @@ +title: $:/core/templates/tiddlywiki2.externaljs.template.html + +{{{ [prefix[{prejs}]] ||$:/core/templates/plain-text-tiddler-strip-comments}}} +{{{ [prefix[{js}]] ||$:/core/templates/plain-text-tiddler-strip-comments}}} +{{{ [prefix[{postjs}]] ||$:/core/templates/plain-text-tiddler-strip-comments}}} +{{{ [prefix[{jsext}]] ||$:/core/templates/plain-text-tiddler-strip-comments}}} + diff --git a/editions/tw2/plugins/loadrecipe/plugin.bundle b/plugins/tiddlywiki/loadrecipe/plugin.bundle similarity index 100% rename from editions/tw2/plugins/loadrecipe/plugin.bundle rename to plugins/tiddlywiki/loadrecipe/plugin.bundle diff --git a/editions/tw2/plugins/loadrecipe/recipe.js b/plugins/tiddlywiki/loadrecipe/recipe.js similarity index 100% rename from editions/tw2/plugins/loadrecipe/recipe.js rename to plugins/tiddlywiki/loadrecipe/recipe.js diff --git a/editions/tw2/plugins/stripcomments/plugin.bundle b/plugins/tiddlywiki/stripcomments/plugin.bundle similarity index 100% rename from editions/tw2/plugins/stripcomments/plugin.bundle rename to plugins/tiddlywiki/stripcomments/plugin.bundle diff --git a/editions/tw2/plugins/stripcomments/stripcomments.js b/plugins/tiddlywiki/stripcomments/stripcomments.js similarity index 100% rename from editions/tw2/plugins/stripcomments/stripcomments.js rename to plugins/tiddlywiki/stripcomments/stripcomments.js