Skip to content

Commit

Permalink
Tests: Take development jQuery versions from releases.jquery.com
Browse files Browse the repository at this point in the history
code.jquery.com is now used just for the specific versions.
  • Loading branch information
mgol committed Sep 29, 2021
1 parent 232fe3b commit c3749ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/lib/bootstrap.js
Expand Up @@ -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";
}
Expand All @@ -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" ) {
Expand Down

0 comments on commit c3749ca

Please sign in to comment.