forked from distok/asarfuckery
11 lines
No EOL
420 B
JavaScript
11 lines
No EOL
420 B
JavaScript
'use strict';
|
|
const electron = require('electron');
|
|
const { View } = electron;
|
|
const { WebContentsView } = process.electronBinding('web_contents_view');
|
|
Object.setPrototypeOf(WebContentsView.prototype, View.prototype);
|
|
WebContentsView.prototype._init = function () {
|
|
// Call parent class's _init.
|
|
View.prototype._init.call(this);
|
|
};
|
|
module.exports = WebContentsView;
|
|
//# sourceMappingURL=web-contents-view.js.map
|