mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-14 10:13:08 +02: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
|