11import { isString } from "../shared/utils.js" ;
2+ import { AnimateRunner } from "./runner/animate-runner.js" ;
23import { concatWithSpace } from "./shared.js" ;
34
45const NG_ANIMATE_SHIM_CLASS_NAME = "ng-animate-shim" ;
@@ -20,16 +21,14 @@ export function AnimateCssDriverProvider($$animationProvider) {
2021 */
2122 this . $get = [
2223 "$animateCss" ,
23- "$$AnimateRunner" ,
2424 "$rootElement" ,
2525 /**
2626 *
2727 * @param {* } $animateCss
28- * @param {typeof import('./runner/animate-runner.js').AnimateRunner } $$AnimateRunner
2928 * @param {Element } $rootElement
3029 * @returns
3130 */
32- function ( $animateCss , $$AnimateRunner , $ rootElement) {
31+ function ( $animateCss , $rootElement ) {
3332 const bodyNode = document . body ;
3433 const rootNode = $rootElement ;
3534
@@ -102,7 +101,7 @@ export function AnimateCssDriverProvider($$animationProvider) {
102101 runner . complete ( ) ;
103102 } ) ;
104103
105- runner = new $$ AnimateRunner( {
104+ runner = new AnimateRunner ( {
106105 end : endFn ,
107106 cancel : endFn ,
108107 } ) ;
@@ -213,12 +212,12 @@ export function AnimateCssDriverProvider($$animationProvider) {
213212 animationRunners . push ( animation . start ( ) ) ;
214213 } ) ;
215214
216- const runner = new $$ AnimateRunner( {
215+ const runner = new AnimateRunner ( {
217216 end : endFn ,
218217 cancel : endFn , // CSS-driven animations cannot be cancelled, only ended
219218 } ) ;
220219
221- $$ AnimateRunner. all ( animationRunners , ( status ) => {
220+ AnimateRunner . all ( animationRunners , ( status ) => {
222221 runner . complete ( status ) ;
223222 } ) ;
224223
0 commit comments