forked from FoundKeyGang/FoundKey
✌️
This commit is contained in:
parent
2db313986a
commit
fde6ed6073
3 changed files with 8 additions and 7 deletions
|
@ -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 => {
|
||||||
|
|
7
src/web/app/mobile/scripts/ui.js
Normal file
7
src/web/app/mobile/scripts/ui.js
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
const riot = require('riot');
|
||||||
|
|
||||||
|
const ui = riot.observable();
|
||||||
|
|
||||||
|
riot.mixin('ui', {
|
||||||
|
ui: ui
|
||||||
|
});
|
|
@ -1,6 +0,0 @@
|
||||||
riot = require \riot
|
|
||||||
|
|
||||||
ui = riot.observable!
|
|
||||||
|
|
||||||
riot.mixin \ui do
|
|
||||||
ui: ui
|
|
Loading…
Reference in a new issue