MCPcopy Create free account
hub / github.com/Tencent/Hippy / compile

Method compile

core/js/bootstrap.js:38–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 }
37
38 compile() {
39 const fn = ContextifyScript.RunInThisContext(this.filename);
40 fn(this.exports, NativeModule.require, internalBinding);
41 }
42
43 cache() {
44 NativeModule.cache[this.filename] = this;

Callers 2

requireMethod · 0.95
fillParamsFunction · 0.45

Calls 2

fnFunction · 0.50
RunInThisContextMethod · 0.45

Tested by

no test coverage detected