]> source.dussan.org Git - jquery.git/commitdiff
Optimisation: Use String instead of window.String. Close gh-1176.
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 20 Feb 2013 23:01:06 +0000 (00:01 +0100)
committerRichard Gibson <richard.gibson@gmail.com>
Tue, 26 Feb 2013 18:31:59 +0000 (13:31 -0500)
Follows-up 22e28b01e60e87b2454f88ca128fb84916b13564.
(cherry picked from commit 31478b90128a60585c087bee57d31148677a99cd)

src/ajax.js

index 04c7e0208a19f72168e4afce1d90694cc3e8b10d..40590494c650a5d35cf87918d0367dbd3f41848e 100644 (file)
@@ -265,7 +265,7 @@ jQuery.extend({
                converters: {
 
                        // Convert anything to text
-                       "* text": window.String,
+                       "* text": String,
 
                        // Text to html (true = no transformation)
                        "text html": true,