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

Function applyNS

static/vuejs/vue.runtime.esm.js:3347–3361  ·  view source on GitHub ↗
(vnode, ns)

Source from the content-addressed store, hash-verified

3345}
3346
3347function applyNS (vnode, ns) {
3348 vnode.ns = ns;
3349 if (vnode.tag === 'foreignObject') {
3350 // use default namespace inside foreignObject
3351 return
3352 }
3353 if (vnode.children) {
3354 for (var i = 0, l = vnode.children.length; i < l; i++) {
3355 var child = vnode.children[i];
3356 if (child.tag && !child.ns) {
3357 applyNS(child, ns);
3358 }
3359 }
3360 }
3361}
3362
3363/* */
3364

Callers 1

_createElementFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected