MCPcopy Create free account
hub / github.com/ampproject/amphtml / init

Function init

validator/cpp/engine/wasm/validator.js:28–32  ·  view source on GitHub ↗

* Initialize WebAssembly module. This function must be called before all other * functions. * * @async

()

Source from the content-addressed store, hash-verified

26 * @async
27 */
28async function init() {
29 if (!wasmModule) {
30 wasmModule = await loadValidatorWasm();
31 }
32}
33
34/**
35 * An object holding both number-to-string mapping and string-to-number mapping

Callers 1

validateUrlAndLogFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected