1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-14 14:35:38 +02:00
This commit is contained in:
syuilo
2017-02-18 17:39:15 +09:00
parent f640f88277
commit c83302bb80
3 changed files with 9 additions and 9 deletions

View File

@@ -0,0 +1,8 @@
const riot = require('riot');
riot.mixin('open-window', {
openWindow: (name, opts) => {
const window = document.body.appendChild(document.createElement(name));
return riot.mount(window, opts)[0];
}
});