MCPcopy Create free account
hub / github.com/sql-js/sql.js / open

Function open

documentation/javascript/application.js:262–272  ·  view source on GitHub ↗
(node)

Source from the content-addressed store, hash-verified

260 }
261
262 function open(node) {
263 var result = '<' + node.nodeName.toLowerCase();
264 for (var i = 0; i < node.attributes.length; i++) {
265 var attribute = node.attributes[i];
266 result += ' ' + attribute.nodeName.toLowerCase();
267 if (attribute.value !== undefined && attribute.value !== false && attribute.value !== null) {
268 result += '="' + escape(attribute.value) + '"';
269 }
270 }
271 return result + '>';
272 }
273
274 while (stream1.length || stream2.length) {
275 var current = selectStream().splice(0, 1)[0];

Callers 1

mergeStreamsFunction · 0.85

Calls 1

escapeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…