From d75db05ea69430a4e1fd70f730c65d2e98cb383d Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Mon, 25 Mar 2013 12:12:53 +0000 Subject: [PATCH] Cleaning up the previous commit --- plugins/tiddlywiki/filesystem/filesystemadaptor.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/plugins/tiddlywiki/filesystem/filesystemadaptor.js b/plugins/tiddlywiki/filesystem/filesystemadaptor.js index 8cbaf2a9a..a8676afbd 100644 --- a/plugins/tiddlywiki/filesystem/filesystemadaptor.js +++ b/plugins/tiddlywiki/filesystem/filesystemadaptor.js @@ -26,8 +26,7 @@ FileSystemAdaptor.prototype.getTiddlerInfo = function(tiddler) { $tw.config.typeInfo = { "text/vnd.tiddlywiki": { fileType: "application/x-tiddler", - extension: ".tid", - template: "$:/core/templates/tid-tiddler" + extension: ".tid" }, "image/jpeg" : { hasMetaFile: true @@ -104,9 +103,7 @@ FileSystemAdaptor.prototype.saveTiddler = function(tiddler,callback) { } if(fileInfo.hasMetaFile) { // Save the tiddler as a separate body and meta file -console.log("Saving fileInfo",fileInfo) var typeInfo = $tw.config.contentTypeInfo[fileInfo.type]; -console.log("Saving typeInfo",typeInfo) fs.writeFile(fileInfo.filepath,tiddler.fields.text,{encoding: typeInfo.encoding},function(err) { if(err) { return callback(err);