MCPcopy Create free account
hub / github.com/TruthHun/BookStack / wrappedHook

Function wrappedHook

static/vuejs/vue.runtime.esm.js:1702–1707  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1700 var oldHook = def[hookKey];
1701
1702 function wrappedHook () {
1703 hook.apply(this, arguments);
1704 // important: remove merged hook to ensure it's called only once
1705 // and prevent memory leak
1706 remove(invoker.fns, wrappedHook);
1707 }
1708
1709 if (!oldHook) {
1710 // no existing hook

Callers

nothing calls this directly

Calls 1

removeFunction · 0.70

Tested by

no test coverage detected