mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 05:19:57 +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:
parent
6555fecbf3
commit
95b84dd0ca
@ -1527,7 +1527,7 @@ $tw.loadTiddlersFromPath = function(filepath,excludeRegExp) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
} else if(stat.isFile()) {
|
} else if(stat.isFile()) {
|
||||||
tiddlers.push($tw.loadTiddlersFromFile(filepath));
|
tiddlers.push($tw.loadTiddlersFromFile(filepath,{title: filepath}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return tiddlers;
|
return tiddlers;
|
||||||
|
Loading…
Reference in New Issue
Block a user