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

Function mergeHooks

static/vuejs/vue.common.js:3232–3242  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

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

Callers 1

createComponentFunction · 0.70

Calls 1

mergeHook$1Function · 0.70

Tested by

no test coverage detected