1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-10-24 12:17:39 +00:00

Started refactoring TiddlyWeb syncer into generic syncer + TiddlyWeb adaptor

The refactored plugin is `tiddlyweb2` for the moment. The idea is to be
able to use the same syncer with a different adaptor for syncing
changes to the local file system.
This commit is contained in:
Jeremy Ruston
2013-03-17 15:28:49 +00:00
parent e78c161c63
commit dbde2bf23b
9 changed files with 973 additions and 9 deletions

View File

@@ -26,8 +26,10 @@ exports.startup = function() {
$tw.modules.applyMethods("tiddlermethod",$tw.Tiddler.prototype);
$tw.modules.applyMethods("wikimethod",$tw.Wiki.prototype);
$tw.modules.applyMethods("tiddlerdeserializer",$tw.Wiki.tiddlerDeserializerModules);
// Set up the wiki store
// Set up the parsers
$tw.wiki.initParsers();
// Set up the syncer object
$tw.syncer = new $tw.Syncer({wiki: $tw.wiki});
// Set up the command modules
$tw.Commander.initCommands();
// Get the default tiddlers