mirror of
https://github.com/electron/electron.git
synced 2026-01-28 16:58:21 -05:00
11 lines
283 B
JavaScript
11 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;
|