Tests: Use jquery-git1 instead of jquery-git

Closes gh-1480
This commit is contained in:
Scott González 2015-03-10 14:19:16 -04:00
parent ea999e4776
commit 08eb844552
4 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@ module.exports = function( grunt ) {
"use strict";
var versions = {
"git": "git",
"git1": "git1",
"1.11": "1.11.0 1.11.1 1.11.2",
"1.10": "1.10.0 1.10.1 1.10.2",
"1.9": "1.9.0 1.9.1",

4
tests/jquery.js vendored
View File

@ -13,8 +13,8 @@ for ( ; i < length; i++ ) {
}
}
if ( version === "git" ) {
url = "http://code.jquery.com/jquery-git.js";
if ( version === "git" || version === "git1" ) {
url = "http://code.jquery.com/jquery-" + version + ".js";
} else {
url = "../../../external/jquery-" + ( version || "1.11.2" ) + "/jquery.js";
}

View File

@ -6,7 +6,7 @@ var versions = [
"1.9.0", "1.9.1",
"1.10.0", "1.10.1", "1.10.2",
"1.11.0", "1.11.1", "1.11.2",
"git"
"git1"
],
additionalTests = {
// component: [ "other_test.html" ]

View File

@ -70,7 +70,7 @@ QUnit.config.urlConfig.push({
"1.11.0", "1.11.1", "1.11.2",
"2.0.0", "2.0.1", "2.0.2", "2.0.3",
"2.1.0", "2.1.1", "2.1.2", "2.1.3",
"git"
"git1", "git"
],
tooltip: "Which jQuery Core version to test against"
});