MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / apply

Function apply

scripts/backup/fb-proxy.js:112–123  ·  view source on GitHub ↗
(target, thisArg, argsList)

Source from the content-addressed store, hash-verified

110 return u[_moduleName]
111 ? new Proxy(orig, {
112 apply(target, thisArg, argsList) {
113 if (argsList[5] && argsList[5].dependencies)
114 for (let i = 0; i < argsList[5].dependencies.length; i++)
115 argsList.push(argsList[5].dependencies[i].exports);
116 const res = target.apply(thisArg, argsList);
117 return (
118 u[_moduleName].map((x) => {
119 x(argsList);
120 }),
121 res
122 );
123 },
124 })
125 : orig;
126 })(e[2], moduleName);

Callers

nothing calls this directly

Calls 9

mFunction · 0.70
FFunction · 0.70
VFunction · 0.70
xFunction · 0.50
MFunction · 0.50
WFunction · 0.50
XFunction · 0.50
gFunction · 0.50
TFunction · 0.50

Tested by

no test coverage detected