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

Function extractElementNode

lib/test/angular/1.4.3/angular-animate.js:107–115  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

105}
106
107function extractElementNode(element) {
108 if (!element[0]) return element;
109 for (var i = 0; i < element.length; i++) {
110 var elm = element[i];
111 if (elm.nodeType == ELEMENT_NODE) {
112 return elm;
113 }
114 }
115}
116
117function $$addClass($$jqLite, element, className) {
118 forEach(element, function(elm) {

Callers 3

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

Calls

no outgoing calls

Tested by

no test coverage detected