Skip to content
Snippets Groups Projects
Commit 7602f167 authored by syuilo's avatar syuilo
Browse files

✌️

parent c83302bb
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@ module.exports = (me) ~>
require './scripts/open-window'
riot.mixin \notify do
notify: require './scripts/notify.ls'
notify: require './scripts/notify'
dialog = require './scripts/dialog.ls'
......
const riot = require('riot');
module.exports = message => {
const notification = document.body.appendChild(document.createElement('mk-ui-notification'));
riot.mount(notification, {
message: message
});
};
riot = require \riot
module.exports = (message) ~>
notification = document.body.append-child document.create-element \mk-ui-notification
riot.mount notification, do
message: message
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment