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

Function wrappedHook

static/vuejs/vue.esm.js:1706–1711  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

removeFunction · 0.70

Tested by

no test coverage detected