mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-10-30 23:23:02 +00:00 
			
		
		
		
	Remove whitespace from plugin text
https://github.com/Jermolene/TiddlyWiki5/pull/5708#issuecomment-870749131 Has no effect on functionality, but makes the prerelease index.html go from 6821151 to 6680944 bytes (saving 6680944-6821151=-140,207 bytes or (6680944-6821151)/6680944=2.1%
This commit is contained in:
		| @@ -1985,7 +1985,7 @@ $tw.loadPluginFolder = function(filepath,excludeRegExp) { | ||||
| 		pluginInfo.dependents = pluginInfo.dependents || []; | ||||
| 		pluginInfo.type = "application/json"; | ||||
| 		// Set plugin text | ||||
| 		pluginInfo.text = JSON.stringify({tiddlers: pluginInfo.tiddlers},null,4); | ||||
| 		pluginInfo.text = JSON.stringify({tiddlers: pluginInfo.tiddlers}); | ||||
| 		delete pluginInfo.tiddlers; | ||||
| 		// Deserialise array fields (currently required for the dependents field) | ||||
| 		for(var field in pluginInfo) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 jeremy@jermolene.com
					jeremy@jermolene.com