* 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)
| 1726 | */ |
| 1727 | |
| 1728 | function mergeAssets(parentVal, childVal) { |
| 1729 | var res = Object.create(parentVal || null); |
| 1730 | return childVal ? extend(res, guardArrayAssets(childVal)) : res; |
| 1731 | } |
| 1732 | |
| 1733 | config._assetTypes.forEach(function (type) { |
| 1734 | strats[type + 's'] = mergeAssets; |
nothing calls this directly
no test coverage detected