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

Function extractElementNode

test/angular/1.3/angular-animate.js:464–471  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

462 var rootAnimateState = {running: true};
463
464 function extractElementNode(element) {
465 for (var i = 0; i < element.length; i++) {
466 var elm = element[i];
467 if (elm.nodeType == ELEMENT_NODE) {
468 return elm;
469 }
470 }
471 }
472
473 function prepareElement(element) {
474 return element && angular.element(element);

Callers 9

stripCommentsFromElementFunction · 0.70
isMatchingElementFunction · 0.70
angular-animate.jsFile · 0.70
cancelChildAnimationsFunction · 0.70
animationCloseHandlerFunction · 0.70
getCacheKeyFunction · 0.70
animateSetupFunction · 0.70
animateRunFunction · 0.70
onEndFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected