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