MCPcopy Index your code
hub / github.com/HelloZeroNet/ZeroNet / toTextVNode

Function toTextVNode

plugins/UiPluginManager/media/js/all.js:240–248  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

238 return !vnode1.properties && !vnode2.properties;
239 };
240 var toTextVNode = function (data) {
241 return {
242 vnodeSelector: '',
243 properties: undefined,
244 children: undefined,
245 text: data.toString(),
246 domNode: null
247 };
248 };
249 var appendChildren = function (parentSelector, insertions, main) {
250 for (var i = 0; i < insertions.length; i++) {
251 var item = insertions[i];

Callers 2

appendChildrenFunction · 0.70
all.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected