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