This commit is contained in:
syuilo 2017-02-18 13:24:39 +09:00
parent d158ef287d
commit 5e8557a1e2
3 changed files with 8 additions and 7 deletions

View File

@ -5,7 +5,7 @@ module.exports = me => {
require('./scripts/stream')(me); require('./scripts/stream')(me);
} }
require('./scripts/ui.ls'); require('./scripts/ui');
riot.mixin('open-post-form', { riot.mixin('open-post-form', {
openPostForm: opts => { openPostForm: opts => {

View File

@ -0,0 +1,7 @@
const riot = require('riot');
const ui = riot.observable();
riot.mixin('ui', {
ui: ui
});

View File

@ -1,6 +0,0 @@
riot = require \riot
ui = riot.observable!
riot.mixin \ui do
ui: ui