diff options
author | Ariel Flesler <aflesler@gmail.com> | 2009-01-10 00:16:48 +0000 |
---|---|---|
committer | Ariel Flesler <aflesler@gmail.com> | 2009-01-10 00:16:48 +0000 |
commit | afb05081c013bdd38e0dc8ac1c99bbb9f5a00559 (patch) | |
tree | 60e3cea505626de9435a3575a1c73cf45f0c5dcf /test/unit/fx.js | |
parent | d62875fb0181c44f8b34a8e842ae323801637b25 (diff) | |
download | jquery-afb05081c013bdd38e0dc8ac1c99bbb9f5a00559.tar.gz jquery-afb05081c013bdd38e0dc8ac1c99bbb9f5a00559.zip |
testrunner: Putting back the global variables used for ajax tests. I added many calls to delete though. The global namespace must be cleaned up before calling start() again.
Diffstat (limited to 'test/unit/fx.js')
-rw-r--r-- | test/unit/fx.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/unit/fx.js b/test/unit/fx.js index d53f77a60..6de42546e 100644 --- a/test/unit/fx.js +++ b/test/unit/fx.js @@ -337,15 +337,15 @@ jQuery.each( { }); }); -jQuery.check = ['opacity','height','width','display','overflow']; - jQuery.fn.saveState = function(){ - expect(jQuery.check.length); + var check = ['opacity','height','width','display','overflow']; + expect(check.length); + stop(); return this.each(function(){ var self = this; self.save = {}; - jQuery.each(jQuery.check, function(i,c){ + jQuery.each(check, function(i,c){ self.save[c] = jQuery.css(self,c); }); }); |