mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 05:19:57 +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) {
|
if(tiddler) {
|
||||||
var title = tiddler.fields.title;
|
var title = tiddler.fields.title;
|
||||||
if(title) {
|
if(title) {
|
||||||
|
// Uncomment the following line for detailed logs of all tiddler writes
|
||||||
|
// console.log("Adding",title,tiddler)
|
||||||
tiddlers[title] = tiddler;
|
tiddlers[title] = tiddler;
|
||||||
this.clearCache(title);
|
this.clearCache(title);
|
||||||
this.clearGlobalCache();
|
this.clearGlobalCache();
|
||||||
|
Loading…
Reference in New Issue
Block a user