asarfuckery/electronasar/canary/browser/api/notification.js

11 lines
273 B
JavaScript
Raw Normal View History

2019-06-08 10:59:53 +00:00
'use strict'
const { EventEmitter } = require('events')
const { Notification, isSupported } = process.atomBinding('notification')
Object.setPrototypeOf(Notification.prototype, EventEmitter.prototype)
Notification.isSupported = isSupported
module.exports = Notification