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:
David Serduke 2007-11-30 02:42:48 +00:00
parent 4b8f6cdc86
commit aca1cc3677
2 changed files with 1 additions and 5 deletions

View file

@ -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;

View file

@ -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 );