1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

Repaired outdated function call

This commit is contained in:
Jeremy Ruston 2012-02-11 17:11:14 +00:00
parent 0598d697ee
commit 43e3b4d837

View File

@ -136,7 +136,7 @@ var commandLineSwitches = {
var recipe = [];
app.store.forEachTiddler(function(title,tiddler) {
var filename = encodeURIComponent(tiddler.title.replace(/ /g,"_")) + ".tid";
fs.writeFileSync(path.resolve(args[0],filename),tiddlerOutput.outputTiddler(tiddler),"utf8");
fs.writeFileSync(path.resolve(args[0],filename),store.serializeTiddler("application/x-tiddler",tiddler),"utf8");
recipe.push("tiddler: " + filename + "\n");
});
fs.writeFileSync(path.join(args[0],"split.recipe"),recipe.join(""));