Move JavaScript to root lib/ folder
This commit is contained in:
parent
a9c40de393
commit
70aa9b06ee
56 changed files with 0 additions and 0 deletions
11
lib/common/api/deprecations.js
Normal file
11
lib/common/api/deprecations.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
'use strict';
|
||||
|
||||
const deprecate = require('electron').deprecate;
|
||||
|
||||
exports.setHandler = function (deprecationHandler) {
|
||||
deprecate.setHandler(deprecationHandler);
|
||||
};
|
||||
|
||||
exports.getHandler = function () {
|
||||
return deprecate.getHandler();
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue