asarfuckery/electronasar/canary/browser/api/notification.js
2019-02-06 21:27:58 +01:00

10 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