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

Function wrappedHook

static/vuejs/vue.js:1712–1717  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

removeFunction · 0.70

Tested by

no test coverage detected