electron/atom/common/api/lib/native-image.js
2016-01-12 16:24:06 -08:00

12 lines
249 B
JavaScript

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