mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-17 08:09:14 +09:00
9 lines
186 B
Plaintext
9 lines
186 B
Plaintext
|
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
|