aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/animation.js
diff options
context:
space:
mode:
authorTimmy Willison <4timmywil@gmail.com>2017-12-11 12:39:11 -0500
committerTimmy Willison <4timmywil@gmail.com>2018-01-08 11:24:45 -0500
commit909e0c99251ee56ec35db0e08d5b1e6219ac8fbc (patch)
treea09f8f80f9d0849086717c6f9e9b2d3e7145dec6 /test/unit/animation.js
parent775caebd617e91e697b3e41ae33d6877e63785aa (diff)
downloadjquery-909e0c99251ee56ec35db0e08d5b1e6219ac8fbc.tar.gz
jquery-909e0c99251ee56ec35db0e08d5b1e6219ac8fbc.zip
Core: deprecate jQuery.now
Fixes gh-2959 Close gh-3884
Diffstat (limited to 'test/unit/animation.js')
-rw-r--r--test/unit/animation.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/unit/animation.js b/test/unit/animation.js
index 3c5e711d7..dfa00ac8d 100644
--- a/test/unit/animation.js
+++ b/test/unit/animation.js
@@ -19,13 +19,11 @@ QUnit.module( "animation", {
this._oldInterval = jQuery.fx.interval;
jQuery.fx.step = {};
jQuery.fx.interval = 10;
- jQuery.now = Date.now;
jQuery.Animation.prefilters = [ defaultPrefilter ];
jQuery.Animation.tweeners = { "*": [ defaultTweener ] };
},
teardown: function() {
this.sandbox.restore();
- jQuery.now = Date.now;
jQuery.fx.stop();
jQuery.fx.interval = this._oldInterval;
window.requestAnimationFrame = oldRaf;