diff options
author | Oleg Gaidarenko <markelog@gmail.com> | 2015-12-22 18:05:42 +0300 |
---|---|---|
committer | Oleg Gaidarenko <markelog@gmail.com> | 2015-12-22 18:05:42 +0300 |
commit | e5256a65788ec9ee9cedfd07af7b77148df69dd6 (patch) | |
tree | 380d8c65c8e66c4ad549d2f5cba99a14bbe61339 /test | |
parent | a769a0105e6f3f614a7fd7f4138885dfb19b8d46 (diff) | |
download | jquery-e5256a65788ec9ee9cedfd07af7b77148df69dd6.tar.gz jquery-e5256a65788ec9ee9cedfd07af7b77148df69dd6.zip |
Revert "Effects: Reintroduce use of requestAnimationFrame"
This reverts commit 06a45406966ee8cde31c4f128d7ee68d727880c1.
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/effects.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/unit/effects.js b/test/unit/effects.js index 2e65a62ed..03191236a 100644 --- a/test/unit/effects.js +++ b/test/unit/effects.js @@ -5,11 +5,8 @@ if ( !jQuery.fx ) { return; } -var oldRaf = window.requestAnimationFrame; - module("effects", { setup: function() { - window.requestAnimationFrame = null; this.clock = sinon.useFakeTimers( 505877050 ); this._oldInterval = jQuery.fx.interval; jQuery.fx.interval = 10; @@ -18,7 +15,6 @@ module("effects", { this.clock.restore(); jQuery.fx.stop(); jQuery.fx.interval = this._oldInterval; - window.requestAnimationFrame = oldRaf; return moduleTeardown.apply( this, arguments ); } }); |