Skip to content

Commit 7349ec8

Browse files
committed
Build: Load jQuery git/3.x-git via HTTPS
1 parent a3e35f0 commit 7349ec8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/jquery.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@ for ( ; i < length; i++ ) {
1515
}
1616
}
1717

18-
if ( version === "git" ) {
19-
url = "http://code.jquery.com/jquery-git.js";
20-
} else if ( version === "3.x-git" ) {
21-
url = "http://code.jquery.com/jquery-3.x-git.js";
18+
if ( version === "git" || version === "3.x-git" ) {
19+
url = "https://code.jquery.com/jquery-" + version + ".js";
2220
} else {
2321
url = "../external/jquery-" + ( version || "3.4.1" ) + "/jquery.js";
2422
}

0 commit comments

Comments
 (0)