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

Function wrappedHook

static/vuejs/vue.runtime.common.js:1704–1709  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

removeFunction · 0.70

Tested by

no test coverage detected