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

Fixed call to obsolete parseTiddlerFile() call

This commit is contained in:
Jeremy Ruston 2012-01-23 19:04:29 +00:00
parent a96df59172
commit ab2a0cd6e3

View File

@ -97,7 +97,7 @@ var commandLineSwitches = {
var fields = {title: args[0]},
extname = path.extname(args[0]),
type = extname === ".html" ? "application/x-tiddlywiki" : extname;
var tiddlers = tiddlerInput.parseTiddlerFile(data,type,fields);
var tiddlers = app.store.deserializeTiddlers(type,data,fields);
for(var t=0; t<tiddlers.length; t++) {
app.store.addTiddler(new Tiddler(tiddlers[t]));
}