macOS implementation of notifications in the main process

This commit is contained in:
Samuel Attard 2017-04-23 22:16:19 +10:00
parent 37ed44cf1c
commit 5dd4d6a961
No known key found for this signature in database
GPG key ID: 273DC1869D8F13EF
9 changed files with 351 additions and 1 deletions

View file

@ -0,0 +1,6 @@
const {EventEmitter} = require('events')
const {Notification} = process.atomBinding('notification')
Object.setPrototypeOf(Notification.prototype, EventEmitter.prototype)
module.exports = Notification