electron/lib/browser/api/notification.js

11 lines
277 B
JavaScript
Raw Normal View History

'use strict'
2018-09-13 16:10:51 +00:00
const { EventEmitter } = require('events')
const { Notification, isSupported } = process.electronBinding('notification')
Object.setPrototypeOf(Notification.prototype, EventEmitter.prototype)
2017-05-30 10:27:24 +00:00
Notification.isSupported = isSupported
module.exports = Notification