electron/lib/browser/api/view.js

12 lines
238 B
JavaScript
Raw Normal View History

2020-03-20 20:28:31 +00:00
'use strict';
2018-05-07 05:52:25 +00:00
2020-03-20 20:28:31 +00:00
const { EventEmitter } = require('events');
const { View } = process.electronBinding('view');
2018-05-07 05:52:25 +00:00
2020-03-20 20:28:31 +00:00
Object.setPrototypeOf(View.prototype, EventEmitter.prototype);
2018-05-07 05:52:25 +00:00
View.prototype._init = function () {
2020-03-20 20:28:31 +00:00
};
2020-03-20 20:28:31 +00:00
module.exports = View;