MCPcopy Create free account
hub / github.com/angular-ui/ui-router / extractElementNode

Function extractElementNode

test/angular/1.7/angular-animate.js:138–146  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

136}
137
138function extractElementNode(element) {
139 if (!element[0]) return element;
140 for (var i = 0; i < element.length; i++) {
141 var elm = element[i];
142 if (elm.nodeType === ELEMENT_NODE) {
143 return elm;
144 }
145 }
146}
147
148function $$addClass($$jqLite, element, className) {
149 forEach(element, function(elm) {

Callers 3

stripCommentsFromElementFunction · 0.70
filterFromRegistryFunction · 0.70
angular-animate.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected