Skip to content

Commit 8cabdcd

Browse files
committed
Use jdalton's shorter sequence for the chars.
1 parent 9b17452 commit 8cabdcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ajax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var r20 = /%20/g,
4545
ajaxLocParts,
4646

4747
// Avoid comment-prolog char sequence (#10098); must appease lint and evade compression
48-
allTypes = "*/".concat("*");
48+
allTypes = ["*/"] + ["*"];
4949

5050
// #8138, IE may throw an exception when accessing
5151
// a field from window.location if document.domain has been set

0 commit comments

Comments
 (0)