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
|
@ -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({
|
||||||
},
|
},
|
||||||
|
|
||||||
// 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 );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue