mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-25 22:22:51 +09:00
✌️
This commit is contained in:
parent
b4046da451
commit
f6f1eb1bca
@ -12,23 +12,23 @@ module.exports = (me) ~>
|
||||
Cropper: require \cropperjs
|
||||
|
||||
riot.mixin \signout do
|
||||
signout: require './scripts/signout.js'
|
||||
signout: require './scripts/signout'
|
||||
|
||||
riot.mixin \messaging-stream do
|
||||
MessagingStreamConnection: require './scripts/messaging-stream'
|
||||
|
||||
riot.mixin \is-promise do
|
||||
is-promise: require './scripts/is-promise.ls'
|
||||
is-promise: require './scripts/is-promise'
|
||||
|
||||
riot.mixin \get-post-summary do
|
||||
get-post-summary: require './scripts/get-post-summary.js'
|
||||
get-post-summary: require './scripts/get-post-summary'
|
||||
|
||||
riot.mixin \date-stringify do
|
||||
date-stringify: require './scripts/date-stringify.ls'
|
||||
date-stringify: require './scripts/date-stringify'
|
||||
|
||||
riot.mixin \text do
|
||||
analyze: require '../../../common/text/index.js'
|
||||
compile: require './scripts/text-compiler.js'
|
||||
analyze: require '../../../common/text/index'
|
||||
compile: require './scripts/text-compiler'
|
||||
|
||||
riot.mixin \get-password-strength do
|
||||
get-password-strength: require 'syuilo-password-strength'
|
||||
|
1
src/web/app/common/scripts/is-promise.js
Normal file
1
src/web/app/common/scripts/is-promise.js
Normal file
@ -0,0 +1 @@
|
||||
module.exports = x => typeof x.then == 'function';
|
@ -1 +0,0 @@
|
||||
module.exports = (x) -> typeof x.then == \function
|
Loading…
Reference in New Issue
Block a user