1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-12-18 00:29:00 +09:00
MisskeyIO/src/web/app/common/scripts/i.ls

13 lines
216 B
Plaintext
Raw Normal View History

2016-12-29 07:49:51 +09:00
riot = require \riot
module.exports = (me) ->
riot.mixin \i do
init: ->
@I = me
@SIGNIN = me?
if @SIGNIN
@on \mount ~> me.on \updated @update
@on \unmount ~> me.off \updated @update
2017-01-22 19:23:52 +09:00
me: me