electron/atom/common/api/lib/native-image.coffee
2015-11-13 16:03:40 +08:00

7 lines
198 B
CoffeeScript

{deprecate} = require 'electron'
nativeImage = process.atomBinding 'native_image'
# Deprecated.
deprecate.rename nativeImage, 'createFromDataUrl', 'createFromDataURL'
module.exports = nativeImage