Remove deprecated APIs
This commit is contained in:
parent
0cf50b1c0b
commit
dae68be2ce
9 changed files with 2 additions and 121 deletions
|
@ -1,7 +1 @@
|
|||
const deprecate = require('electron').deprecate
|
||||
const nativeImage = process.atomBinding('native_image')
|
||||
|
||||
// Deprecated.
|
||||
deprecate.rename(nativeImage, 'createFromDataUrl', 'createFromDataURL')
|
||||
|
||||
module.exports = nativeImage
|
||||
module.exports = process.atomBinding('native_image')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue