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

Function mergeAssets

static/vuejs/vue.runtime.common.js:1066–1071  ·  view source on GitHub ↗

* Assets * * When a vm is present (instance creation), we need to do * a three-way merge between constructor options, instance * options and parent options.

(parentVal, childVal)

Source from the content-addressed store, hash-verified

1064 * options and parent options.
1065 */
1066function mergeAssets (parentVal, childVal) {
1067 var res = Object.create(parentVal || null);
1068 return childVal
1069 ? extend(res, childVal)
1070 : res
1071}
1072
1073config._assetTypes.forEach(function (type) {
1074 strats[type + 's'] = mergeAssets;

Callers

nothing calls this directly

Calls 1

extendFunction · 0.70

Tested by

no test coverage detected