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

Function jq

lib/test/angular/1.7.0/angular.js:1298–1312  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1296 ```
1297 */
1298var jq = function() {
1299 if (isDefined(jq.name_)) return jq.name_;
1300 var el;
1301 var i, ii = ngAttrPrefixes.length, prefix, name;
1302 for (i = 0; i < ii; ++i) {
1303 prefix = ngAttrPrefixes[i];
1304 el = window.document.querySelector('[' + prefix.replace(':', '\\:') + 'jq]');
1305 if (el) {
1306 name = el.getAttribute(prefix + 'jq');
1307 break;
1308 }
1309 }
1310
1311 return (jq.name_ = name);
1312};
1313
1314function concat(array1, array2, index) {
1315 return array1.concat(slice.call(array2, index));

Callers 1

bindJQueryFunction · 0.70

Calls 1

isDefinedFunction · 0.70

Tested by

no test coverage detected