Skip to content

Commit

Permalink
Merge pull request #283 from rjwright/DontWarnForDefaultPR
Browse files Browse the repository at this point in the history
Don't warn about AnimationTiming.playbackRate when value == 1.
  • Loading branch information
rjwright committed Feb 2, 2015
2 parents 9793af7 + 1813734 commit edd67e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/timing-utilities.js
Expand Up @@ -45,7 +45,7 @@
if ((property == 'direction') && (directions.indexOf(timingInput[property]) == -1)) {
return;
}
if (property == 'playbackRate' && shared.isDeprecated('AnimationTiming.playbackRate', '2014-11-28', 'Use AnimationPlayer.playbackRate instead.')) {
if (property == 'playbackRate' && timingInput[property] !== 1 && shared.isDeprecated('AnimationTiming.playbackRate', '2014-11-28', 'Use AnimationPlayer.playbackRate instead.')) {
return;
}
timing[property] = timingInput[property];
Expand Down

0 comments on commit edd67e5

Please sign in to comment.