remove wrapper functions
This commit is contained in:
		
							parent
							
								
									43e3f081ca
								
							
						
					
					
						commit
						6fab9502bb
					
				
					 1 changed files with 3 additions and 21 deletions
				
			
		|  | @ -6,20 +6,6 @@ | ||||||
| import { windowman } from "../windowman.js"; | import { windowman } from "../windowman.js"; | ||||||
| let secretariat = await import(chrome.runtime.getURL("scripts/secretariat.js")); | let secretariat = await import(chrome.runtime.getURL("scripts/secretariat.js")); | ||||||
| 
 | 
 | ||||||
| // Import configuration file.
 |  | ||||||
| // const config = chrome.runtime.getURL('gui/layouts/settings.json');
 |  | ||||||
| 
 |  | ||||||
| let pref_pane = 0; |  | ||||||
| 
 |  | ||||||
| function start() { |  | ||||||
|   windowman.prepare(); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /* Generate the appropriate strings.  */ |  | ||||||
| function say() { |  | ||||||
|   windowman.fill(); |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /* | /* | ||||||
| 		Arrange the interface. | 		Arrange the interface. | ||||||
| 		*/ | 		*/ | ||||||
|  | @ -53,14 +39,10 @@ function events() { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function main() { | function main() { | ||||||
|   let tab = start(); |   let tab = windowman.prepare(); | ||||||
|   say(); |   windowman.fill(); | ||||||
|   events(); |  | ||||||
| 
 |  | ||||||
|   arrange(); |   arrange(); | ||||||
| 
 |   events(); | ||||||
|   /*arrange(); |  | ||||||
| 			events();*/ |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| main(); | main(); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue