(index)
| 715 | |
| 716 | var count = 0; |
| 717 | function afterAnimationComplete(index) { |
| 718 | if (cancellations) { |
| 719 | (cancellations[index] || noop)(); |
| 720 | if (++count < animations.length) return; |
| 721 | cancellations = null; |
| 722 | } |
| 723 | allCompleteFn(); |
| 724 | } |
| 725 | |
| 726 | //The code below adds directly to the array in order to work with |
| 727 | //both sync and async animations. Sync animations are when the done() |
no outgoing calls
no test coverage detected