diff options
Diffstat (limited to 'src/web/app/common/mixins.ls')
| -rw-r--r-- | src/web/app/common/mixins.ls | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/web/app/common/mixins.ls b/src/web/app/common/mixins.ls deleted file mode 100644 index 812bcae102..0000000000 --- a/src/web/app/common/mixins.ls +++ /dev/null @@ -1,37 +0,0 @@ -riot = require \riot - -module.exports = (me) ~> - i = if me? then me.token else null - - (require './scripts/i.ls') me - - riot.mixin \api do - api: (require './scripts/api').bind null i - - riot.mixin \cropper do - Cropper: require \cropperjs - - riot.mixin \signout do - signout: require './scripts/signout.ls' - - riot.mixin \messaging-stream do - MessagingStreamConnection: require './scripts/messaging-stream.ls' - - riot.mixin \is-promise do - is-promise: require './scripts/is-promise.ls' - - riot.mixin \get-post-summary do - get-post-summary: require './scripts/get-post-summary.ls' - - riot.mixin \date-stringify do - date-stringify: require './scripts/date-stringify.ls' - - riot.mixin \text do - analyze: require '../../../common/text/index.js' - compile: require './scripts/text-compiler.js' - - riot.mixin \get-password-strength do - get-password-strength: require 'syuilo-password-strength' - - riot.mixin \ui-progress do - Progress: require './scripts/loading.ls' |