mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
9 lines
259 B
JavaScript
9 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
|