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