This commit is contained in:
syuilo 2017-02-18 13:24:39 +09:00
parent 2db313986a
commit fde6ed6073
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