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

Function q

examples/bundle_github.js:99–106  ·  view source on GitHub ↗
(x, s)

Source from the content-addressed store, hash-verified

97 var o = arguments.length > 1 ? arguments[1] : null;
98
99 function q(x, s) {
100 var A;
101 if (s && s.length) for (var z = 0; z < s.length; z++) if (s[z].result.toLowerCase() == x.toLowerCase()) {
102 A = s[z];
103 break
104 }
105 typeof o == "function" ? o(A) : e.trigger("result", A && [A.data, A.value])
106 }
107 a.each(r(e.val()), function (x, s) {
108 t(s, q, q)
109 })

Callers 1

tFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected