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