electron/lib/browser/api/notification.js

9 lines
255 B
JavaScript
Raw Normal View History

const {EventEmitter} = require('events')
2017-05-30 10:27:24 +00:00
const {Notification, isSupported} = process.atomBinding('notification')
Object.setPrototypeOf(Notification.prototype, EventEmitter.prototype)
2017-05-30 10:27:24 +00:00
Notification.isSupported = isSupported
module.exports = Notification