@@ -100,15 +100,15 @@ var $$AnimateQueueProvider = ['$animateProvider', /** @this */ function($animate
100
100
return hasMatchingClasses ( nA , cR ) || hasMatchingClasses ( nR , cA ) ;
101
101
} ) ;
102
102
103
- this . $get = [ '$$rAF' , '$rootScope' , '$rootElement' , '$document' , '$$HashMap ' ,
103
+ this . $get = [ '$$rAF' , '$rootScope' , '$rootElement' , '$document' , '$$Map ' ,
104
104
'$$animation' , '$$AnimateRunner' , '$templateRequest' , '$$jqLite' , '$$forceReflow' ,
105
105
'$$isDocumentHidden' ,
106
- function ( $$rAF , $rootScope , $rootElement , $document , $$HashMap ,
106
+ function ( $$rAF , $rootScope , $rootElement , $document , $$Map ,
107
107
$$animation , $$AnimateRunner , $templateRequest , $$jqLite , $$forceReflow ,
108
108
$$isDocumentHidden ) {
109
109
110
- var activeAnimationsLookup = new $$HashMap ( ) ;
111
- var disabledElementsLookup = new $$HashMap ( ) ;
110
+ var activeAnimationsLookup = new $$Map ( ) ;
111
+ var disabledElementsLookup = new $$Map ( ) ;
112
112
var animationsEnabled = null ;
113
113
114
114
function postDigestTaskFactory ( ) {
@@ -294,7 +294,7 @@ var $$AnimateQueueProvider = ['$animateProvider', /** @this */ function($animate
294
294
bool = ! disabledElementsLookup . get ( node ) ;
295
295
} else {
296
296
// (element, bool) - Element setter
297
- disabledElementsLookup . put ( node , ! bool ) ;
297
+ disabledElementsLookup . set ( node , ! bool ) ;
298
298
}
299
299
}
300
300
}
@@ -597,7 +597,7 @@ var $$AnimateQueueProvider = ['$animateProvider', /** @this */ function($animate
597
597
animationDetails . runner . end ( ) ;
598
598
/* falls through */
599
599
case PRE_DIGEST_STATE :
600
- activeAnimationsLookup . remove ( child ) ;
600
+ activeAnimationsLookup . delete ( child ) ;
601
601
break ;
602
602
}
603
603
}
@@ -607,7 +607,7 @@ var $$AnimateQueueProvider = ['$animateProvider', /** @this */ function($animate
607
607
function clearElementAnimationState ( element ) {
608
608
var node = getDomNode ( element ) ;
609
609
node . removeAttribute ( NG_ANIMATE_ATTR_NAME ) ;
610
- activeAnimationsLookup . remove ( node ) ;
610
+ activeAnimationsLookup . delete ( node ) ;
611
611
}
612
612
613
613
function isMatchingElement ( nodeOrElmA , nodeOrElmB ) {
@@ -717,7 +717,7 @@ var $$AnimateQueueProvider = ['$animateProvider', /** @this */ function($animate
717
717
var newValue = oldValue
718
718
? extend ( oldValue , details )
719
719
: details ;
720
- activeAnimationsLookup . put ( node , newValue ) ;
720
+ activeAnimationsLookup . set ( node , newValue ) ;
721
721
}
722
722
} ] ;
723
723
} ] ;
0 commit comments