Removed comments and code related to Safari being unable to do a sync global eval. With the new globalEval() code that should no longer be a problem.
This commit is contained in:
parent
4b8f6cdc86
commit
aca1cc3677
2 changed files with 1 additions and 5 deletions
|
@ -52,10 +52,7 @@ jQuery.fn.extend({
|
|||
// If not, just inject the full result
|
||||
res.responseText );
|
||||
|
||||
// Add delay to account for Safari's delay in globalEval
|
||||
setTimeout(function(){
|
||||
self.each( callback, [res.responseText, status, res] );
|
||||
}, 13);
|
||||
self.each( callback, [res.responseText, status, res] );
|
||||
}
|
||||
});
|
||||
return this;
|
||||
|
|
|
@ -591,7 +591,6 @@ jQuery.extend({
|
|||
},
|
||||
|
||||
// Evalulates a script in a global context
|
||||
// Evaluates Async. in Safari 2 :-(
|
||||
globalEval: function( data ) {
|
||||
data = jQuery.trim( data );
|
||||
|
||||
|
|
Loading…
Reference in a new issue