diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-02-18 13:24:39 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-02-18 13:24:39 +0900 |
| commit | fde6ed60736d688c63bdbc8de2875e2e687f9f16 (patch) | |
| tree | 2295ebd08018a6e58accce189f3e66a564400b28 /src/web | |
| parent | :v: (diff) | |
| download | sharkey-fde6ed60736d688c63bdbc8de2875e2e687f9f16.tar.gz sharkey-fde6ed60736d688c63bdbc8de2875e2e687f9f16.tar.bz2 sharkey-fde6ed60736d688c63bdbc8de2875e2e687f9f16.zip | |
:v:
Diffstat (limited to 'src/web')
| -rw-r--r-- | src/web/app/mobile/mixins.js | 2 | ||||
| -rw-r--r-- | src/web/app/mobile/scripts/ui.js | 7 | ||||
| -rw-r--r-- | src/web/app/mobile/scripts/ui.ls | 6 |
3 files changed, 8 insertions, 7 deletions
diff --git a/src/web/app/mobile/mixins.js b/src/web/app/mobile/mixins.js index cd344d32e0..be0e0d155e 100644 --- a/src/web/app/mobile/mixins.js +++ b/src/web/app/mobile/mixins.js @@ -5,7 +5,7 @@ module.exports = me => { require('./scripts/stream')(me); } - require('./scripts/ui.ls'); + require('./scripts/ui'); riot.mixin('open-post-form', { openPostForm: opts => { diff --git a/src/web/app/mobile/scripts/ui.js b/src/web/app/mobile/scripts/ui.js new file mode 100644 index 0000000000..51ab6acd2d --- /dev/null +++ b/src/web/app/mobile/scripts/ui.js @@ -0,0 +1,7 @@ +const riot = require('riot'); + +const ui = riot.observable(); + +riot.mixin('ui', { + ui: ui +}); diff --git a/src/web/app/mobile/scripts/ui.ls b/src/web/app/mobile/scripts/ui.ls deleted file mode 100644 index aa94a8b052..0000000000 --- a/src/web/app/mobile/scripts/ui.ls +++ /dev/null @@ -1,6 +0,0 @@ -riot = require \riot - -ui = riot.observable! - -riot.mixin \ui do - ui: ui |