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

10 lines
244 B
JavaScript

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