electron/lib/common/api/deprecations.js

12 lines
231 B
JavaScript
Raw Normal View History

2016-03-25 19:50:33 +00:00
'use strict'
2016-03-25 19:50:33 +00:00
const deprecate = require('electron').deprecate
exports.setHandler = function (deprecationHandler) {
2016-03-25 19:50:33 +00:00
deprecate.setHandler(deprecationHandler)
}
exports.getHandler = function () {
2016-03-25 19:50:33 +00:00
return deprecate.getHandler()
}