mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2025-12-15 15:10:30 -08:00
Fixed call to obsolete parseTiddlerFile() call
This commit is contained in:
parent
a96df59172
commit
ab2a0cd6e3
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue