7 lines
226 B
JavaScript
7 lines
226 B
JavaScript
const deprecate = require('electron').deprecate;
|
|
const nativeImage = process.atomBinding('native_image');
|
|
|
|
// Deprecated.
|
|
deprecate.rename(nativeImage, 'createFromDataUrl', 'createFromDataURL');
|
|
|
|
module.exports = nativeImage;
|