This commit is contained in:
こぴなたみぽ 2018-02-23 18:42:38 +09:00
parent eb0daf53e6
commit bbda46f5fb
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;