mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
Debug hooks for tracing tiddler deletions
This commit is contained in:
parent
f899f33a4a
commit
81e4d43a25
@ -883,6 +883,8 @@ $tw.Wiki = function(options) {
|
||||
|
||||
// Delete a tiddler
|
||||
this.deleteTiddler = function(title) {
|
||||
// Uncomment the following line for detailed logs of all tiddler deletions
|
||||
// console.log("Deleting",title,tiddler)
|
||||
delete tiddlers[title];
|
||||
this.clearCache(title);
|
||||
this.clearGlobalCache();
|
||||
|
Loading…
Reference in New Issue
Block a user