This commit is contained in:
こぴなたみぽ 2018-02-23 18:42:38 +09:00
parent dbc2f42399
commit 9c4e3142b1
2 changed files with 0 additions and 20 deletions

View File

@ -1,15 +0,0 @@
import * as riot from 'riot';
export default opts => {
const app = document.getElementById('app');
app.style.display = 'none';
function recover() {
app.style.display = 'block';
}
const form = riot.mount(document.body.appendChild(document.createElement('mk-post-form')), opts)[0];
form
.on('cancel', recover)
.on('post', recover);
};

View File

@ -1,5 +0,0 @@
import * as riot from 'riot';
const ev = riot.observable();
export default ev;