electron/atom/common/api/lib/native-image.js

13 lines
249 B
JavaScript
Raw Normal View History

2016-01-12 02:40:23 +00:00
var deprecate, nativeImage;
deprecate = require('electron').deprecate;
nativeImage = process.atomBinding('native_image');
/* Deprecated. */
deprecate.rename(nativeImage, 'createFromDataUrl', 'createFromDataURL');
module.exports = nativeImage;