MCPcopy Index your code
hub / github.com/apache/caldera / Ut

Function Ut

static/jquery/jquery.min.js:2247–2263  ·  view source on GitHub ↗
(e, t, n, r)

Source from the content-addressed store, hash-verified

2245 }
2246
2247 function Ut(e, t, n, r) {
2248 var i, o, a, s, u, l = {}, c = e.dataTypes.slice();
2249 if (c[1]) for (a in e.converters) l[a.toLowerCase()] = e.converters[a];
2250 o = c.shift();
2251 while (o) if (e.responseFields[o] && (n[e.responseFields[o]] = t), !u && r && e.dataFilter && (t = e.dataFilter(t, e.dataType)), u = o, o = c.shift()) if ("*" === o) o = u; else if ("*" !== u && u !== o) {
2252 if (!(a = l[u + " " + o] || l["* " + o])) for (i in l) if ((s = i.split(" "))[1] === o && (a = l[u + " " + s[0]] || l["* " + s[0]])) {
2253 !0 === a ? a = l[i] : !0 !== l[i] && (o = s[0], c.unshift(s[1]));
2254 break
2255 }
2256 if (!0 !== a) if (a && e["throws"]) t = a(t); else try {
2257 t = a(t)
2258 } catch (e) {
2259 return {state: "parsererror", error: a ? e : "No conversion from " + u + " to " + o}
2260 }
2261 }
2262 return {state: "success", data: t}
2263 }
2264
2265 w.extend({
2266 active: 0,

Callers 1

kFunction · 0.85

Calls 1

aFunction · 0.70

Tested by

no test coverage detected