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

8 lines
222 B
JavaScript
Raw Normal View History

2016-03-25 12:50:33 -07:00
const deprecate = require('electron').deprecate
const nativeImage = process.atomBinding('native_image')
2016-01-11 18:40:23 -08:00
2016-01-14 10:35:29 -08:00
// Deprecated.
2016-03-25 12:50:33 -07:00
deprecate.rename(nativeImage, 'createFromDataUrl', 'createFromDataURL')
2016-01-11 18:40:23 -08:00
2016-03-25 12:50:33 -07:00
module.exports = nativeImage