MCPcopy Index your code
hub / github.com/keepfool/vue-tutorials / isRealTemplate

Function isRealTemplate

01.GettingStarted/js/vue.js:3473–3475  ·  view source on GitHub ↗

* Check if a node is a supported template node with a * DocumentFragment content. * * @param {Node} node * @return {Boolean}

(node)

Source from the content-addressed store, hash-verified

3471 */
3472
3473 function isRealTemplate(node) {
3474 return isTemplate(node) && isFragment(node.content);
3475 }
3476
3477 var tagRE$1 = /<([\w:-]+)/;
3478 var entityRE = /&#?\w+?;/;

Callers 2

nodeToFragmentFunction · 0.70
cloneNodeFunction · 0.70

Calls 2

isTemplateFunction · 0.70
isFragmentFunction · 0.70

Tested by

no test coverage detected