forked from distok/asarfuckery
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
|