mirror of
https://github.com/hotomoe/hotomoe
synced 2024-12-16 23:58:14 +09:00
39 lines
962 B
Plaintext
39 lines
962 B
Plaintext
riot = require \riot
|
|
|
|
module.exports = (me) ~>
|
|
if me?
|
|
(require './scripts/stream') me
|
|
|
|
require './scripts/user-preview'
|
|
|
|
require './scripts/open-window'
|
|
|
|
riot.mixin \notify do
|
|
notify: require './scripts/notify'
|
|
|
|
dialog = require './scripts/dialog'
|
|
|
|
riot.mixin \dialog do
|
|
dialog: dialog
|
|
|
|
riot.mixin \NotImplementedException do
|
|
NotImplementedException: ~>
|
|
dialog do
|
|
'<i class="fa fa-exclamation-triangle"></i>Not implemented yet'
|
|
'要求された操作は実装されていません。<br>→<a href="https://github.com/syuilo/misskey" target="_blank">Misskeyの開発に参加する</a>'
|
|
[
|
|
text: \OK
|
|
]
|
|
|
|
riot.mixin \input-dialog do
|
|
input-dialog: require './scripts/input-dialog'
|
|
|
|
riot.mixin \update-avatar do
|
|
update-avatar: require './scripts/update-avatar'
|
|
|
|
riot.mixin \update-banner do
|
|
update-banner: require './scripts/update-banner'
|
|
|
|
riot.mixin \autocomplete do
|
|
Autocomplete: require './scripts/autocomplete'
|