mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-10-30 23:23:02 +00:00 
			
		
		
		
	Add debugging hook for wiki.addTiddler()
This commit is contained in:
		| @@ -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(); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jermolene
					Jermolene