MCPcopy Create free account
hub / github.com/breck7/scroll / parser

Function parser

external/.d3.js:8390–8393  ·  view source on GitHub ↗
(type)

Source from the content-addressed store, hash-verified

8388}
8389
8390function parser(type) {
8391 return (input, init) => text(input, init)
8392 .then(text => (new DOMParser).parseFromString(text, type));
8393}
8394
8395var xml = parser("application/xml");
8396

Callers 2

fnMethod · 0.85
.d3.jsFile · 0.85

Calls 1

textFunction · 0.70

Tested by

no test coverage detected