Add debugging hook for wiki.addTiddler()

This commit is contained in:
Jermolene 2015-02-10 11:30:36 +00:00
parent cf36f6d090
commit 4b61cae262
1 changed files with 2 additions and 0 deletions

View File

@ -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();