blob: 551b1d3ea6724ee007cff7de4f84868e896c1740 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
"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);
|