Tests: Take development jQuery versions from releases.jquery.com

code.jquery.com is now used just for the specific versions.
This commit is contained in:
Michał Gołębiowski-Owczarek 2021-09-29 19:07:43 +02:00
parent 232fe3bafa
commit c3749ca924

View File

@ -108,7 +108,7 @@ function jqueryUrl() {
var url;
if ( version === "git" || version === "3.x-git" ) {
url = "https://code.jquery.com/jquery-" + version;
url = "https://releases.jquery.com/git/jquery-" + version;
} else {
url = "../../../external/jquery-" + version + "/jquery";
}
@ -121,7 +121,7 @@ function migrateUrl() {
var url;
if ( jqueryVersion === "git" ) {
url = "https://code.jquery.com/jquery-migrate-git";
url = "https://releases.jquery.com/git/jquery-migrate-git";
} else if ( jqueryVersion[ 0 ] === "3" ) {
url = "../../../external/jquery-migrate-3.3.2/jquery-migrate";
} else if ( jqueryVersion[ 0 ] === "1" || jqueryVersion[ 0 ] === "2" ) {