diff --git a/js/HttpSync.js b/js/HttpSync.js index 32189bee0..190e14479 100644 --- a/js/HttpSync.js +++ b/js/HttpSync.js @@ -1,6 +1,8 @@ /*\ title: js/HttpSync.js +A very simple synchroniser. It PUTs updated or created tiddlers, and DELETEs deleted tiddlers. + \*/ (function(){ diff --git a/js/LocalFileSync.js b/js/LocalFileSync.js index 25aaf2e63..5b9e8368a 100644 --- a/js/LocalFileSync.js +++ b/js/LocalFileSync.js @@ -1,6 +1,8 @@ /*\ title: js/LocalFileSync.js +Loads tiddlers from a given directory, and then keeps the files up to date as tiddlers are modified, created or deleted. + \*/ (function(){ @@ -15,8 +17,6 @@ var retrieveFile = require("./FileRetriever.js").retrieveFile, util = require("util"), async = require("async"); - - function LocalFileSync(dirpath,store,callback) { this.dirpath = dirpath; this.store = store;