git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
testrunner: Putting back the global variables used for ajax tests. I added many calls...
[jquery.git]
/
test
/
unit
/
fx.js
diff --git
a/test/unit/fx.js
b/test/unit/fx.js
index
d53f77a
..
6de4254
100644
(file)
--- 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(){
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 = {};
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);
});
});
self.save[c] = jQuery.css(self,c);
});
});