1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-27 18:40:28 +00:00

Use filename as default title when loading tiddlers under Node

Fixing this regression gets the `classictools` plugin working again
This commit is contained in:
Jermolene 2017-11-05 14:14:00 +00:00
parent 6555fecbf3
commit 95b84dd0ca

View File

@ -1527,7 +1527,7 @@ $tw.loadTiddlersFromPath = function(filepath,excludeRegExp) {
});
}
} else if(stat.isFile()) {
tiddlers.push($tw.loadTiddlersFromFile(filepath));
tiddlers.push($tw.loadTiddlersFromFile(filepath,{title: filepath}));
}
}
return tiddlers;