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

Function jq

test/angular/1.7/angular.js:1337–1351  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1335 ```
1336 */
1337var jq = function() {
1338 if (isDefined(jq.name_)) return jq.name_;
1339 var el;
1340 var i, ii = ngAttrPrefixes.length, prefix, name;
1341 for (i = 0; i < ii; ++i) {
1342 prefix = ngAttrPrefixes[i];
1343 el = window.document.querySelector('[' + prefix.replace(':', '\\:') + 'jq]');
1344 if (el) {
1345 name = el.getAttribute(prefix + 'jq');
1346 break;
1347 }
1348 }
1349
1350 return (jq.name_ = name);
1351};
1352
1353function concat(array1, array2, index) {
1354 return array1.concat(slice.call(array2, index));

Callers 1

bindJQueryFunction · 0.70

Calls 1

isDefinedFunction · 0.70

Tested by

no test coverage detected