mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-08 23:20:03 +00:00
Improved comments
This commit is contained in:
parent
d34f163dbc
commit
9e4404bb97
@ -1,6 +1,8 @@
|
|||||||
/*\
|
/*\
|
||||||
title: js/HttpSync.js
|
title: js/HttpSync.js
|
||||||
|
|
||||||
|
A very simple synchroniser. It PUTs updated or created tiddlers, and DELETEs deleted tiddlers.
|
||||||
|
|
||||||
\*/
|
\*/
|
||||||
(function(){
|
(function(){
|
||||||
|
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
/*\
|
/*\
|
||||||
title: js/LocalFileSync.js
|
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(){
|
(function(){
|
||||||
|
|
||||||
@ -15,8 +17,6 @@ var retrieveFile = require("./FileRetriever.js").retrieveFile,
|
|||||||
util = require("util"),
|
util = require("util"),
|
||||||
async = require("async");
|
async = require("async");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function LocalFileSync(dirpath,store,callback) {
|
function LocalFileSync(dirpath,store,callback) {
|
||||||
this.dirpath = dirpath;
|
this.dirpath = dirpath;
|
||||||
this.store = store;
|
this.store = store;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user