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

11 lines
244 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');
2016-01-14 18:35:29 +00:00
// Deprecated.
2016-01-12 02:40:23 +00:00
deprecate.rename(nativeImage, 'createFromDataUrl', 'createFromDataURL');
module.exports = nativeImage;