MCPcopy Create free account
hub / github.com/angular-ui/ui-grid / jq

Function jq

lib/test/angular/1.5.0/angular.js:1163–1176  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1161 ```
1162 */
1163var jq = function() {
1164 if (isDefined(jq.name_)) return jq.name_;
1165 var el;
1166 var i, ii = ngAttrPrefixes.length, prefix, name;
1167 for (i = 0; i < ii; ++i) {
1168 prefix = ngAttrPrefixes[i];
1169 if (el = document.querySelector('[' + prefix.replace(':', '\\:') + 'jq]')) {
1170 name = el.getAttribute(prefix + 'jq');
1171 break;
1172 }
1173 }
1174
1175 return (jq.name_ = name);
1176};
1177
1178function concat(array1, array2, index) {
1179 return array1.concat(slice.call(array2, index));

Callers 1

bindJQueryFunction · 0.70

Calls 1

isDefinedFunction · 0.70

Tested by

no test coverage detected