aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Tijhof <krinklemail@gmail.com>2013-02-21 00:01:06 +0100
committerDave Methvin <dave.methvin@gmail.com>2013-02-26 10:17:54 -0500
commit31478b90128a60585c087bee57d31148677a99cd (patch)
tree14a25831da2ab4b8c8b6f5acad530c5b3280b97c
parent6d188186d428668b91ddc60be4fb3c230dfec363 (diff)
downloadjquery-31478b90128a60585c087bee57d31148677a99cd.tar.gz
jquery-31478b90128a60585c087bee57d31148677a99cd.zip
Optimisation: Use String instead of window.String. Close gh-1176.
Follows-up 22e28b01e60e87b2454f88ca128fb84916b13564.
-rw-r--r--src/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax.js b/src/ajax.js
index a7508e972..55250494a 100644
--- a/src/ajax.js
+++ b/src/ajax.js
@@ -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,