MCPcopy Index your code
hub / github.com/Moli-X/Resources / fromURL

Function fromURL

Script/Parser.js:3192–3202  ·  view source on GitHub ↗
(src, ondone)

Source from the content-addressed store, hash-verified

3190 // function to create an XMLHttpClient in a cross-browser manner
3191
3192 function fromURL(src, ondone) {
3193 var client = createXMLHTTPRequest();
3194 client.onreadystatechange = function() {
3195 if (this.readyState == 4 || this.status == 200) {
3196 var txt = this.responseText;
3197 ondone(YAML.eval0(txt));
3198 }
3199 };
3200 client.open('GET', src);
3201 client.send();
3202 }
3203
3204 function parser(str) {
3205 var regLevel = regex["regLevel"];

Callers

nothing calls this directly

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…