kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Improve logic for initialising reading node tiddlers
We want fine control of whether tiddlers are read from the DOM or the file system, without ganging it to whether we’re on node vs. browser.print-window-tiddler
rodzic
2c790d982f
commit
60926198b1
|
@ -1411,7 +1411,7 @@ $tw.boot.startup = function(options) {
|
|||
contentTypeInfo: {} // Map type to {encoding:,extension:}
|
||||
}
|
||||
});
|
||||
if($tw.node) {
|
||||
if(!options.readBrowserTiddlers) {
|
||||
// For writable tiddler files, a hashmap of title to {filepath:,type:,hasMetaFile:}
|
||||
$tw.boot.files = {};
|
||||
// System paths and filenames
|
||||
|
|
Ładowanie…
Reference in New Issue