MCPcopy Index your code
hub / github.com/ygs-code/vue / createEmptyVNode

Function createEmptyVNode

vue.js:1158–1165  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

1156
1157 //创建一个节点 空的vnode
1158 var createEmptyVNode = function (text) {
1159 if (text === void 0) text = '';
1160
1161 var node = new VNode();
1162 node.text = text;
1163 node.isComment = true;
1164 return node
1165 };
1166
1167 //创建一个文本节点
1168 function createTextVNode(val) {

Callers 3

createAsyncPlaceholderFunction · 0.85
_createElementFunction · 0.85
renderMixinFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected