8 lines
255 B
JavaScript
8 lines
255 B
JavaScript
const {EventEmitter} = require('events')
|
|
const {Notification, isSupported} = process.atomBinding('notification')
|
|
|
|
Object.setPrototypeOf(Notification.prototype, EventEmitter.prototype)
|
|
|
|
Notification.isSupported = isSupported
|
|
|
|
module.exports = Notification
|