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

Function updateAnimationRunners

lib/test/angular/1.4.3/angular-animate.js:2925–2936  ·  view source on GitHub ↗
(animation, newRunner)

Source from the content-addressed store, hash-verified

2923 }
2924
2925 function updateAnimationRunners(animation, newRunner) {
2926 if (animation.from && animation.to) {
2927 update(animation.from.element);
2928 update(animation.to.element);
2929 } else {
2930 update(animation.element);
2931 }
2932
2933 function update(element) {
2934 getRunner(element).setHost(newRunner);
2935 }
2936 }
2937
2938 function handleDestroyedElement() {
2939 var runner = getRunner(element);

Callers 1

triggerAnimationStartFunction · 0.70

Calls 1

updateFunction · 0.70

Tested by

no test coverage detected