9 lines
217 B
JavaScript
9 lines
217 B
JavaScript
|
const electron = require('electron');
|
||
|
|
||
|
const { View } = electron;
|
||
|
const { ImageView } = process.electronBinding('image_view');
|
||
|
|
||
|
Object.setPrototypeOf(ImageView.prototype, View.prototype);
|
||
|
|
||
|
module.exports = ImageView;
|