From aca1cc367782f8d038a13794a46aec6fd825eb45 Mon Sep 17 00:00:00 2001 From: David Serduke Date: Fri, 30 Nov 2007 02:42:48 +0000 Subject: [PATCH] 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. --- src/ajax.js | 5 +---- src/core.js | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/ajax.js b/src/ajax.js index 6821cec..ba3aa96 100644 --- a/src/ajax.js +++ b/src/ajax.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; diff --git a/src/core.js b/src/core.js index 62e41c9..0bf3530 100644 --- a/src/core.js +++ b/src/core.js @@ -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 ); -- 1.7.10.4