Skip to content

Commit 11012c0

Browse files
committed
Clean up
1 parent 1bce0d3 commit 11012c0

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

src/group-constructors.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@
8787
// support old constructors (Animation*) for a deprecation period. Should be removed after 23 June
8888
// 2015.
8989
window.AnimationSequence = function() {
90-
// if (shared.isDeprecated('window.AnimationSequence', '2015-03-23', 'Use window.SequenceEffect instead.')) {
91-
if (shared.isDeprecated('window.AnimationSequence', '2014-03-23', 'Use window.SequenceEffect instead.')) {
90+
if (shared.isDeprecated('window.AnimationSequence', '2015-03-23', 'Use window.SequenceEffect instead.')) {
9291
return;
9392
}
9493
window.SequenceEffect.apply(this, arguments);
@@ -97,8 +96,7 @@
9796
window.AnimationSequence.prototype.constructor = window.AnimationSequence;
9897

9998
window.AnimationGroup = function() {
100-
// if (shared.isDeprecated('window.AnimationGroup', '2015-03-23', 'Use window.GroupEffect instead.')) {
101-
if (shared.isDeprecated('window.AnimationGroup', '2014-03-23', 'Use window.GroupEffect instead.')) {
99+
if (shared.isDeprecated('window.AnimationGroup', '2015-03-23', 'Use window.GroupEffect instead.')) {
102100
return;
103101
}
104102
window.GroupEffect.apply(this, arguments);

src/keyframe-effect-constructor.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,7 @@
114114
// function and the constructor in web-animations-next-animation should be scope.Animation and
115115
// window.Animation until 23 June 2015.
116116
window.Animation = function() {
117-
// if (shared.isDeprecated('window.Animation', '2015-03-23', 'Use window.KeyframeEffect instead.')) {
118-
if (shared.isDeprecated('window.Animation', '2014-03-23', 'Use window.KeyframeEffect instead.')) {
117+
if (shared.isDeprecated('window.Animation', '2015-03-23', 'Use window.KeyframeEffect instead.')) {
119118
return;
120119
}
121120
window.KeyframeEffect.apply(this, arguments);

0 commit comments

Comments
 (0)