MCPcopy Index your code
hub / github.com/NV/github-live-preview / t

Function t

examples/bundle_github.js:193–219  ·  view source on GitHub ↗
(o, q, x)

Source from the content-addressed store, hash-verified

191 } else y()
192 }
193 function t(o, q, x) {
194 b.matchCase || (o = o.toLowerCase());
195 var s = h.load(o);
196 if (s && s.length) q(o, s);
197 else if (typeof b.url == "string" && b.url.length > 0) {
198 var A = {};
199 a.each(b.extraParams, function (z, D) {
200 A[z] = typeof D == "function" ? D() : D
201 });
202 a.ajax({
203 mode: "abort",
204 port: "autocomplete" + d.name,
205 dataType: b.dataType,
206 url: b.url,
207 data: a.extend({
208 q: u(o),
209 limit: b.max
210 },
211 A),
212 success: function (z) {
213 z = b.parse && b.parse(z) || B(z);
214 h.add(o, z);
215 q(o, z)
216 }
217 })
218 } else x(o)
219 }
220 function B(o) {
221 var q = [];
222 o = o.split("\n");

Callers 2

bundle_github.jsFile · 0.85
kFunction · 0.85

Calls 3

qFunction · 0.85
uFunction · 0.85
BFunction · 0.85

Tested by

no test coverage detected