From 60926198b17e0272fb3ab9163122a9b5084849f2 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sat, 18 Jan 2014 14:53:26 +0000 Subject: [PATCH] Improve logic for initialising reading node tiddlers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- boot/boot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/boot.js b/boot/boot.js index 7d615aa26..d9145c1bf 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -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