mirror of
				https://github.com/Jermolene/TiddlyWiki5
				synced 2025-10-31 15:42:59 +00:00 
			
		
		
		
	Added support for browser startup modules
This commit is contained in:
		| @@ -39,6 +39,11 @@ exports.startup = function() { | |||||||
| 	$tw.Commander.initCommands(); | 	$tw.Commander.initCommands(); | ||||||
| 	// Host-specific startup | 	// Host-specific startup | ||||||
| 	if($tw.browser) { | 	if($tw.browser) { | ||||||
|  | 		// Call browser startup modules | ||||||
|  | 		var modules = $tw.modules.types["browser-startup"]; | ||||||
|  | 		for(var m=0; m<modules.length; m++) { | ||||||
|  | 			modules[m].startup(); | ||||||
|  | 		} | ||||||
| 		// Install the popup manager | 		// Install the popup manager | ||||||
| 		$tw.popup = new $tw.utils.Popup({ | 		$tw.popup = new $tw.utils.Popup({ | ||||||
| 			wiki: $tw.wiki, | 			wiki: $tw.wiki, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Jeremy Ruston
					Jeremy Ruston