1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-17 08:09:14 +09:00
cherrypick/src/web/app/desktop/scripts/open-window.ls

9 lines
186 B
Plaintext
Raw Normal View History

2016-12-29 07:49:51 +09:00
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