MCPcopy Create free account
hub / github.com/talkgo/night / pegasus

Function pegasus

static/javascripts/application.js:1–12  ·  view source on GitHub ↗
(t, e)

Source from the content-addressed store, hash-verified

1function pegasus(t, e) {
2 return e = new XMLHttpRequest, e.open("GET", t), t = [], e.onreadystatechange = e.then = function(n, o, i, r) {
3 if (n && n.call && (t = [, n, o]), 4 == e.readyState && (i = t[0 | e.status / 200])) {
4 try {
5 r = JSON.parse(e.responseText)
6 } catch (s) {
7 r = null
8 }
9 i(r, e)
10 }
11 }, e.send(), e
12}
13if ("document" in self && ("classList" in document.createElement("_") ? ! function() {
14 "use strict";
15 var t = document.createElement("_");

Callers 2

lFunction · 0.70
application.jsFile · 0.70

Calls 1

iFunction · 0.70

Tested by

no test coverage detected