mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-16 14:25:32 +02:00
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