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 6821cec..ba3aa96 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 62e41c9..0bf3530 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 );