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.
This commit is contained in:
parent
d62875fb01
commit
afb05081c0
6 changed files with 54 additions and 30 deletions
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue