(index)
| 467 | |
| 468 | var count = 0; |
| 469 | function afterAnimationComplete(index) { |
| 470 | if(cancellations) { |
| 471 | (cancellations[index] || noop)(); |
| 472 | if(++count < animations.length) return; |
| 473 | cancellations = null; |
| 474 | } |
| 475 | allCompleteFn(); |
| 476 | } |
| 477 | |
| 478 | //The code below adds directly to the array in order to work with |
| 479 | //both sync and async animations. Sync animations are when the done() |
no outgoing calls
no test coverage detected