1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-10-31 23:53:00 +00:00

Clearer logging preparatory to implementing file synchronisation

This commit is contained in:
Jeremy Ruston
2013-03-24 12:53:09 +00:00
parent 7df3d48451
commit 70def07d63
3 changed files with 7 additions and 8 deletions

View File

@@ -27,7 +27,9 @@ FileSystemAdaptor.prototype.getTiddlerInfo = function(tiddler) {
Save a tiddler and invoke the callback with (err,adaptorInfo,revision)
*/
FileSystemAdaptor.prototype.saveTiddler = function(tiddler,callback) {
console.log("FileSystem: Saving",tiddler.fields);
var filepathInfo = $tw.boot.files[tiddler.fields.title],
filepath = filepathInfo ? $tw.boot.files[tiddler.fields.title].filepath : undefined;
console.log("FileSystem: Saving",filepath,tiddler.fields);
callback(null,{},0);
};