MCPcopy Create free account
hub / github.com/cafebazaar/blacksmith / jq

Function jq

web/static/bower_components/angular/angular.js:1133–1146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1131 ```
1132 */
1133var jq = function() {
1134 if (isDefined(jq.name_)) return jq.name_;
1135 var el;
1136 var i, ii = ngAttrPrefixes.length, prefix, name;
1137 for (i = 0; i < ii; ++i) {
1138 prefix = ngAttrPrefixes[i];
1139 if (el = document.querySelector('[' + prefix.replace(':', '\\:') + 'jq]')) {
1140 name = el.getAttribute(prefix + 'jq');
1141 break;
1142 }
1143 }
1144
1145 return (jq.name_ = name);
1146};
1147
1148function concat(array1, array2, index) {
1149 return array1.concat(slice.call(array2, index));

Callers 1

bindJQueryFunction · 0.85

Calls 1

isDefinedFunction · 0.85

Tested by

no test coverage detected