Skip to content
Permalink
Browse files

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.
  • Loading branch information
davids549 committed Nov 30, 2007
1 parent 4b8f6cd commit aca1cc367782f8d038a13794a46aec6fd825eb45
Showing with 1 addition and 5 deletions.
  1. +1 −4 src/ajax.js
  2. +0 −1 src/core.js
@@ -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 );

0 comments on commit aca1cc3

Please sign in to comment.
You can’t perform that action at this time.