diff options
author | Timo Tijhof <krinklemail@gmail.com> | 2013-02-21 00:01:06 +0100 |
---|---|---|
committer | Richard Gibson <richard.gibson@gmail.com> | 2013-02-26 13:31:59 -0500 |
commit | 6b0aa048c92050aee702cb8c1f71c2693cafd64f (patch) | |
tree | c7d21d4a0c2200412c4e448dfc1f8c668748dc35 | |
parent | f5163914fa1a751aa5bf10ce48c4b5307d65ed90 (diff) | |
download | jquery-6b0aa048c92050aee702cb8c1f71c2693cafd64f.tar.gz jquery-6b0aa048c92050aee702cb8c1f71c2693cafd64f.zip |
Optimisation: Use String instead of window.String. Close gh-1176.
Follows-up 22e28b01e60e87b2454f88ca128fb84916b13564.
(cherry picked from commit 31478b90128a60585c087bee57d31148677a99cd)
-rw-r--r-- | src/ajax.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax.js b/src/ajax.js index 04c7e0208..40590494c 100644 --- a/src/ajax.js +++ b/src/ajax.js @@ -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, |