From 3414f1ca8ef696a21f914ed9ddb8e23111911a6a Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sat, 18 Jan 2014 14:57:42 +0000 Subject: [PATCH] Move node-webkit saver into a plugin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We don’t need it for TiddlyDesktop now that it reuses the TiddlyFox saver. But it is still useful for embedding a TW directly into a node-webkit app --- .../tiddlywiki/nodewebkitsaver}/nodewebkit.js | 2 +- plugins/tiddlywiki/nodewebkitsaver/plugin.info | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) rename {core/modules/savers => plugins/tiddlywiki/nodewebkitsaver}/nodewebkit.js (86%) create mode 100644 plugins/tiddlywiki/nodewebkitsaver/plugin.info diff --git a/core/modules/savers/nodewebkit.js b/plugins/tiddlywiki/nodewebkitsaver/nodewebkit.js similarity index 86% rename from core/modules/savers/nodewebkit.js rename to plugins/tiddlywiki/nodewebkitsaver/nodewebkit.js index 6fd643cfe..81680f667 100644 --- a/core/modules/savers/nodewebkit.js +++ b/plugins/tiddlywiki/nodewebkitsaver/nodewebkit.js @@ -3,7 +3,7 @@ title: $:/core/modules/savers/nodewebkit.js type: application/javascript module-type: saver -Handles saving changes in the node-webkit environment +Handles saving changes in the node-webkit environment. Not required by TiddlyDesktop, which re-uses the TiddlyFox saver, but useful if you're embedding a single TiddlyWiki document into a node-webkit app. \*/ (function(){ diff --git a/plugins/tiddlywiki/nodewebkitsaver/plugin.info b/plugins/tiddlywiki/nodewebkitsaver/plugin.info new file mode 100644 index 000000000..91f8bec9c --- /dev/null +++ b/plugins/tiddlywiki/nodewebkitsaver/plugin.info @@ -0,0 +1,6 @@ +{ + "title": "$:/plugins/tiddlywiki/nodewebkitsaver", + "description": "Native saving for node-webkit", + "author": "JeremyRuston", + "core-version": ">=5.0.0" +}