mirror of
https://github.com/electron/electron.git
synced 2026-01-24 06:48:15 -05:00
9 lines
255 B
JavaScript
9 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
|