mirror of
https://github.com/electron/electron.git
synced 2026-01-28 08:48:14 -05:00
11 lines
273 B
JavaScript
11 lines
273 B
JavaScript
'use strict'
|
|
|
|
const { EventEmitter } = require('events')
|
|
const { Notification, isSupported } = process.atomBinding('notification')
|
|
|
|
Object.setPrototypeOf(Notification.prototype, EventEmitter.prototype)
|
|
|
|
Notification.isSupported = isSupported
|
|
|
|
module.exports = Notification
|