mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-01 18:38:02 +00:00
Debug hooks for tracing tiddler deletions
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user