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

Function mergeHooks

static/vuejs/vue.runtime.js:3228–3238  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

3226}
3227
3228function mergeHooks (data) {
3229 if (!data.hook) {
3230 data.hook = {};
3231 }
3232 for (var i = 0; i < hooksToMerge.length; i++) {
3233 var key = hooksToMerge[i];
3234 var fromParent = data.hook[key];
3235 var ours = componentVNodeHooks[key];
3236 data.hook[key] = fromParent ? mergeHook$1(ours, fromParent) : ours;
3237 }
3238}
3239
3240function mergeHook$1 (one, two) {
3241 return function (a, b, c, d) {

Callers 1

createComponentFunction · 0.70

Calls 1

mergeHook$1Function · 0.70

Tested by

no test coverage detected