electron/lib/browser/api/notification.js
2018-09-14 14:57:01 +10:00

8 lines
259 B
JavaScript

const { EventEmitter } = require('events')
const { Notification, isSupported } = process.atomBinding('notification')
Object.setPrototypeOf(Notification.prototype, EventEmitter.prototype)
Notification.isSupported = isSupported
module.exports = Notification