(animationPhase)
| 1431 | return runner.cancel; |
| 1432 | |
| 1433 | function fireDOMCallback(animationPhase) { |
| 1434 | var eventName = '$animate:' + animationPhase; |
| 1435 | if (elementEvents && elementEvents[eventName] && elementEvents[eventName].length > 0) { |
| 1436 | $$asyncCallback(function() { |
| 1437 | element.triggerHandler(eventName, { |
| 1438 | event: animationEvent, |
| 1439 | className: className |
| 1440 | }); |
| 1441 | }); |
| 1442 | } |
| 1443 | } |
| 1444 | |
| 1445 | function fireBeforeCallbackAsync() { |
| 1446 | fireDOMCallback('before'); |
no outgoing calls
no test coverage detected