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

Function jq

test/angular/1.6/angular.js:1340–1354  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 1

bindJQueryFunction · 0.70

Calls 1

isDefinedFunction · 0.70

Tested by

no test coverage detected