electron/lib/browser/api/notification.js
2020-03-20 13:28:31 -07:00

10 lines
283 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;