(animation, newRunner)
| 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); |
no test coverage detected