electron/atom/common/api/lib/native-image.js
2016-01-14 10:35:29 -08:00

12 lines
246 B
JavaScript

var deprecate, nativeImage;
deprecate = require('electron').deprecate;
nativeImage = process.atomBinding('native_image');
// Deprecated.
deprecate.rename(nativeImage, 'createFromDataUrl', 'createFromDataURL');
module.exports = nativeImage;