mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-22 15:15:07 +01:00
6 lines
187 B
Text
6 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
|