File tree 2 files changed +0
-24
lines changed 2 files changed +0
-24
lines changed Original file line number Diff line number Diff line change 171
171
return animation . effect !== null && animation . effect . target == this ;
172
172
} . bind ( this ) ) ;
173
173
} ;
174
- window . Element . prototype . getAnimationPlayers = function ( ) {
175
- shared . deprecated ( 'Element.getAnimationPlayers' , '2015-03-23' , 'Use Element.getAnimations instead.' ) ;
176
- return this . getAnimations ( ) ;
177
- } ;
178
-
179
- // Alias KeyframeEffect to Animation, to support old constructor (Animation) for a deprecation
180
- // period. Should be removed after 23 June 2015.
181
- //
182
- // This is only on window and not on scope, because the constructor that was called
183
- // webAnimationsNext.Player - now called webAnimationsNext.Animation - is already on the scope.
184
- //
185
- // FIXME: Add this to scope & expose the other scope.Animation (nee scope.Player). I.e. both this
186
- // function and the constructor in web-animations-next-animation should be scope.Animation and
187
- // window.Animation until 23 June 2015.
188
- window . Animation = function ( ) {
189
- shared . deprecated ( 'window.Animation' , '2015-03-23' , 'Use window.KeyframeEffect instead.' ) ;
190
- window . KeyframeEffect . apply ( this , arguments ) ;
191
- } ;
192
- window . Animation . prototype = Object . create ( window . KeyframeEffect . prototype ) ;
193
- window . Animation . prototype . constructor = window . Animation ;
194
174
195
175
} ( webAnimationsShared , webAnimationsNext , webAnimationsTesting ) ) ;
Original file line number Diff line number Diff line change 33
33
this . _discardAnimations ( ) ;
34
34
return this . _animations . slice ( ) ;
35
35
} ,
36
- getAnimationPlayers : function ( ) {
37
- shared . deprecated ( 'AnimationTimeline.getAnimationPlayers' , '2015-03-23' , 'Use AnimationTimeline.getAnimations instead.' ) ;
38
- return this . getAnimations ( ) ;
39
- } ,
40
36
_updateAnimationsPromises : function ( ) {
41
37
scope . animationsWithPromises = scope . animationsWithPromises . filter ( function ( animation ) {
42
38
return animation . _updatePromises ( ) ;
You can’t perform that action at this time.
0 commit comments