]> source.dussan.org Git - jquery.git/commitdiff
Removed comments and code related to Safari being unable to do a sync global eval...
authorDavid Serduke <davidserduke@gmail.com>
Fri, 30 Nov 2007 02:42:48 +0000 (02:42 +0000)
committerDavid Serduke <davidserduke@gmail.com>
Fri, 30 Nov 2007 02:42:48 +0000 (02:42 +0000)
src/ajax.js
src/core.js

index 6821cecc4bdc7e60ca4cebf404d8b7657ffe1aab..ba3aa968df71bdc3f8eb1c7d0eb94079ce94c93c 100644 (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;
index 62e41c966ea62cdd83fc61c3778304f542144567..0bf353074edc2f6c262ce85fc8042474591cef00 100644 (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 );