]> source.dussan.org Git - jquery.git/commitdiff
Effects: Remove needless operations in tests
authorOleg Gaidarenko <markelog@gmail.com>
Fri, 9 May 2014 00:08:48 +0000 (04:08 +0400)
committerOleg Gaidarenko <markelog@gmail.com>
Sun, 15 Jun 2014 23:21:44 +0000 (03:21 +0400)
Ref 10024c25820f08139f11d924cec552a26dfbba18

test/unit/effects.js

index e857b229b8e70e57bbafad6ce564af1d048ab5cb..9b4c4d5c16e0ac9a0bd4dc253c26f7eaf398de28 100644 (file)
@@ -5,8 +5,6 @@ if ( !jQuery.fx ) {
        return;
 }
 
-var off = jQuery.fx.off;
-
 module("effects", {
        setup: function() {
                this.clock = sinon.useFakeTimers( 505877050 );
@@ -17,7 +15,6 @@ module("effects", {
                this.clock.restore();
                jQuery.fx.stop();
                jQuery.fx.interval = this._oldInterval;
-               jQuery.fx.off = off;
                return moduleTeardown.apply( this, arguments );
        }
 });