MCPcopy
hub / github.com/angular-ui/ui-router / extractElementNode

Function extractElementNode

test/angular/1.2/angular-animate.js:319–326  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

317 var rootAnimateState = {running: true};
318
319 function extractElementNode(element) {
320 for(var i = 0; i < element.length; i++) {
321 var elm = element[i];
322 if(elm.nodeType == ELEMENT_NODE) {
323 return elm;
324 }
325 }
326 }
327
328 function prepareElement(element) {
329 return element && angular.element(element);

Callers 11

stripCommentsFromElementFunction · 0.70
isMatchingElementFunction · 0.70
cancelChildAnimationsFunction · 0.70
animationCloseHandlerFunction · 0.70
getCacheKeyFunction · 0.70
blockTransitionsFunction · 0.70
blockKeyframeAnimationsFunction · 0.70
unblockTransitionsFunction · 0.70
animateRunFunction · 0.70
onEndFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected