notification.js 277 B

12345678910
  1. 'use strict'
  2. const { EventEmitter } = require('events')
  3. const { Notification, isSupported } = process.electronBinding('notification')
  4. Object.setPrototypeOf(Notification.prototype, EventEmitter.prototype)
  5. Notification.isSupported = isSupported
  6. module.exports = Notification