mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-26 19:47:20 +00:00
Add debugging hook for wiki.addTiddler()
This commit is contained in:
parent
cf36f6d090
commit
4b61cae262
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user