]> source.dussan.org Git - jquery.git/commitdiff
Use jdalton's shorter sequence for the chars. 473/head
authorDave Methvin <dave.methvin@gmail.com>
Tue, 23 Aug 2011 12:55:41 +0000 (08:55 -0400)
committerDave Methvin <dave.methvin@gmail.com>
Tue, 23 Aug 2011 12:55:41 +0000 (08:55 -0400)
src/ajax.js

index 18bf3450806fc35395ded49f4fdfcd9aec362c16..623e9fe71956c934404856db0fb759ccf19ee72e 100644 (file)
@@ -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