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

Function applyNS

static/vuejs/vue.runtime.common.js:3349–3363  ·  view source on GitHub ↗
(vnode, ns)

Source from the content-addressed store, hash-verified

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

Callers 1

_createElementFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected