MCPcopy Index your code
hub / github.com/angular-ui/ui-router / computeTimings

Function computeTimings

test/angular/1.4/angular-animate.js:965–977  ·  view source on GitHub ↗
(node, className, cacheKey)

Source from the content-addressed store, hash-verified

963 }
964
965 function computeTimings(node, className, cacheKey) {
966 var timings = computeCachedCssStyles(node, className, cacheKey, DETECT_CSS_PROPERTIES);
967 var aD = timings.animationDelay;
968 var tD = timings.transitionDelay;
969 timings.maxDelay = aD && tD
970 ? Math.max(aD, tD)
971 : (aD || tD);
972 timings.maxDuration = Math.max(
973 timings.animationDuration * timings.animationIterationCount,
974 timings.transitionDuration);
975
976 return timings;
977 }
978
979 return function init(element, initialOptions) {
980 // all of the animation functions should create

Callers 2

angular-animate.jsFile · 0.70
triggerAnimationStartFunction · 0.70

Calls 1

computeCachedCssStylesFunction · 0.70

Tested by

no test coverage detected