diff options
Diffstat (limited to 'data/extensions/https-everywhere@eff.org/background-scripts/bootstrap.js')
-rw-r--r-- | data/extensions/https-everywhere@eff.org/background-scripts/bootstrap.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/data/extensions/https-everywhere@eff.org/background-scripts/bootstrap.js b/data/extensions/https-everywhere@eff.org/background-scripts/bootstrap.js new file mode 100644 index 0000000..65d7a7a --- /dev/null +++ b/data/extensions/https-everywhere@eff.org/background-scripts/bootstrap.js @@ -0,0 +1,9 @@ +"use strict"; + +function require(module) { + if (module.startsWith('./') && require.scopes.hasOwnProperty(module.slice(2))) { + return require.scopes[module.slice(2)]; + } + throw new Error('module: ' + module + ' not found.'); +} +require.scopes = {}; |