mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-22 21:45:13 +01:00
7 lines
187 B
Text
7 lines
187 B
Text
|
riot = require \riot
|
||
|
|
||
|
module.exports = (message) ~>
|
||
|
notification = document.body.append-child document.create-element \mk-ui-notification
|
||
|
riot.mount notification, do
|
||
|
message: message
|