Initial commit 🍀
This commit is contained in:
		
							
								
								
									
										8
									
								
								src/web/app/desktop/scripts/open-window.ls
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								src/web/app/desktop/scripts/open-window.ls
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,8 @@ | ||||
| riot = require \riot | ||||
|  | ||||
| function open(name, opts) | ||||
| 	window = document.body.append-child document.create-element name | ||||
| 	riot.mount window, opts | ||||
|  | ||||
| riot.mixin \open-window do | ||||
| 	open-window: open | ||||
		Reference in New Issue
	
	Block a user
	 syuilo
					syuilo