pulsar/exports/web-frame.js
Max Brunsfeld e7444b1ebe Add shims for legacy electron APIs
Signed-off-by: Nathan Sobo <nathan@github.com>
2016-09-07 16:33:52 +02:00

8 lines
273 B
JavaScript

module.exports = require('electron').webFrame
const Grim = require('grim')
Grim.deprecate('Use `require("electron").webFrame` instead of `require("web-frame")`')
// Ensure each package that requires this shim causes a deprecation warning
delete require.cache[__filename]