MCPcopy
hub / github.com/angular-ui/ui-router / jq

Function jq

test/angular/1.5/angular.js:1206–1220  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1204 ```
1205 */
1206var jq = function() {
1207 if (isDefined(jq.name_)) return jq.name_;
1208 var el;
1209 var i, ii = ngAttrPrefixes.length, prefix, name;
1210 for (i = 0; i < ii; ++i) {
1211 prefix = ngAttrPrefixes[i];
1212 el = window.document.querySelector('[' + prefix.replace(':', '\\:') + 'jq]');
1213 if (el) {
1214 name = el.getAttribute(prefix + 'jq');
1215 break;
1216 }
1217 }
1218
1219 return (jq.name_ = name);
1220};
1221
1222function concat(array1, array2, index) {
1223 return array1.concat(slice.call(array2, index));

Callers 1

bindJQueryFunction · 0.70

Calls 1

isDefinedFunction · 0.70

Tested by

no test coverage detected