From 9e4404bb974bc5dc894b430237d082a9ac4c109a Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Sat, 7 Apr 2012 11:32:16 +0100 Subject: [PATCH] Improved comments --- js/HttpSync.js | 2 ++ js/LocalFileSync.js | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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;