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

12 lines
231 B
JavaScript
Raw Normal View History

2019-02-06 20:27:58 +00:00
'use strict'
const deprecate = require('electron').deprecate
exports.setHandler = function (deprecationHandler) {
deprecate.setHandler(deprecationHandler)
}
exports.getHandler = function () {
return deprecate.getHandler()
}