1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 09:46:22 +00:00

notification デバッグ

This commit is contained in:
Rokt33r
2015-11-24 06:17:49 +09:00
parent e4f39d2b6a
commit d4d1c32288
2 changed files with 18 additions and 12 deletions

View File

@@ -24,9 +24,9 @@ function notify (...args) {
return new window.Notification(...args)
}
ipc.on('notify', function (title, message) {
notify(title, {
body: message
ipc.on('notify', function (e, payload) {
notify(payload.title, {
body: payload.body
})
})