diff options
Diffstat (limited to 'data/extensions/https-everywhere@eff.org/background-scripts/wasm.js')
-rw-r--r-- | data/extensions/https-everywhere@eff.org/background-scripts/wasm.js | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/data/extensions/https-everywhere@eff.org/background-scripts/wasm.js b/data/extensions/https-everywhere@eff.org/background-scripts/wasm.js deleted file mode 100644 index 551b1d3..0000000 --- a/data/extensions/https-everywhere@eff.org/background-scripts/wasm.js +++ /dev/null @@ -1,27 +0,0 @@ -"use strict"; - -(function(exports) { - -const util = require('./util'), - { RuleSets, Bloom } = wasm_bindgen; - -async function initialize() { - try { - await wasm_bindgen(chrome.runtime.getURL('wasm/https_everywhere_lib_wasm_bg.wasm')); - } catch(e) { - util.log(util.WARN, 'The wasm library has not loaded correctly: ' + e); - } -} - -function is_enabled() { - return true; -} - -Object.assign(exports, { - initialize, - RuleSets, - Bloom, - is_enabled, -}); - -})(typeof exports == 'undefined' ? require.scopes.wasm = {} : exports); |