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:
@@ -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);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user