From 4b61cae26240626c4c49489928637ca3ed96130f Mon Sep 17 00:00:00 2001 From: Jermolene Date: Tue, 10 Feb 2015 11:30:36 +0000 Subject: [PATCH] Add debugging hook for wiki.addTiddler() --- boot/boot.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boot/boot.js b/boot/boot.js index 7598a15e7..081603e82 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -861,6 +861,8 @@ $tw.Wiki = function(options) { if(tiddler) { var title = tiddler.fields.title; if(title) { +// Uncomment the following line for detailed logs of all tiddler writes +// console.log("Adding",title,tiddler) tiddlers[title] = tiddler; this.clearCache(title); this.clearGlobalCache();