aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax.js
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2011-08-23 08:55:41 -0400
committerDave Methvin <dave.methvin@gmail.com>2011-08-23 08:55:41 -0400
commit8cabdcd1225a6418d8325209c07e43d2c92633c6 (patch)
treed8afea60235de7e1930e396c831589852252844e /src/ajax.js
parent9b174520cce97a0cb9835b0e0b7d40be0f828212 (diff)
downloadjquery-8cabdcd1225a6418d8325209c07e43d2c92633c6.tar.gz
jquery-8cabdcd1225a6418d8325209c07e43d2c92633c6.zip
Use jdalton's shorter sequence for the chars.
Diffstat (limited to 'src/ajax.js')
-rw-r--r--src/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax.js b/src/ajax.js
index 18bf34508..623e9fe71 100644
--- a/src/ajax.js
+++ b/src/ajax.js
@@ -45,7 +45,7 @@ var r20 = /%20/g,
ajaxLocParts,
// Avoid comment-prolog char sequence (#10098); must appease lint and evade compression
- allTypes = "*/".concat("*");
+ allTypes = ["*/"] + ["*"];
// #8138, IE may throw an exception when accessing
// a field from window.location if document.domain has been set