]> 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)
committerDave Methvin <dave.methvin@gmail.com>
Tue, 26 Feb 2013 15:17:54 +0000 (10:17 -0500)
Follows-up 22e28b01e60e87b2454f88ca128fb84916b13564.

src/ajax.js

index a7508e9721da92558e9cca4e324ae6b905f54733..55250494a0d3cd37714a972d8ec524f032a8b937 100644 (file)
@@ -266,7 +266,7 @@ jQuery.extend({
                converters: {
 
                        // Convert anything to text
-                       "* text": window.String,
+                       "* text": String,
 
                        // Text to html (true = no transformation)
                        "text html": true,