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:
parent
a96df59172
commit
ab2a0cd6e3
@ -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]));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user