MCPcopy Create free account
hub / github.com/microsoft/SandDance / formats

Function formats

docs/app/js/sanddance-app.js:109137–109142  ·  view source on GitHub ↗
(name, reader)

Source from the content-addressed store, hash-verified

109135 topojson: topojson
109136};
109137function formats(name, reader) {
109138 if (arguments.length > 1) {
109139 format[name] = reader;
109140 return this;
109141 } else return (0, _vegaUtil.hasOwnProperty)(format, name) ? format[name] : null;
109142}
109143function responseType(type) {
109144 const f = formats(type);
109145 return f && f.responseType || "text";

Callers 2

responseTypeFunction · 0.70
readFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected