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

Function wrappedHook

static/vuejs/vue.runtime.js:1708–1713  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

removeFunction · 0.70

Tested by

no test coverage detected