asarfuckery/electronasar/development/common/api/deprecations.js

12 lines
231 B
JavaScript
Raw Normal View History

2019-01-17 18:22:05 +00:00
'use strict'
const deprecate = require('electron').deprecate
exports.setHandler = function (deprecationHandler) {
deprecate.setHandler(deprecationHandler)
}
exports.getHandler = function () {
return deprecate.getHandler()
}