Commit aca1cc36 authored by David Serduke's avatar David Serduke

Removed comments and code related to Safari being unable to do a sync global...

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.
parent 4b8f6cdc
...@@ -52,10 +52,7 @@ jQuery.fn.extend({ ...@@ -52,10 +52,7 @@ jQuery.fn.extend({
// If not, just inject the full result // If not, just inject the full result
res.responseText ); res.responseText );
// Add delay to account for Safari's delay in globalEval self.each( callback, [res.responseText, status, res] );
setTimeout(function(){
self.each( callback, [res.responseText, status, res] );
}, 13);
} }
}); });
return this; return this;
......
...@@ -591,7 +591,6 @@ jQuery.extend({ ...@@ -591,7 +591,6 @@ jQuery.extend({
}, },
// Evalulates a script in a global context // Evalulates a script in a global context
// Evaluates Async. in Safari 2 :-(
globalEval: function( data ) { globalEval: function( data ) {
data = jQuery.trim( data ); data = jQuery.trim( data );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment