Skip to content
Permalink
Browse files

Tests: Fix composite tests

  • Loading branch information...
scottgonzalez committed Aug 1, 2014
1 parent 06fe70b commit c017628e11d382bf5844e93a28d5367d871986cc
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Accordion Test Suite</title>

<script src="../../../jquery.js"></script>
<script src="../../../external/jquery/jquery.js"></script>

<link rel="stylesheet" href="../../../external/qunit/qunit.css">
<link rel="stylesheet" href="../qunit-composite.css">
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Test Suite</title>

<script src="../../jquery.js"></script>
<script src="../../external/jquery/jquery.js"></script>

<link rel="stylesheet" href="../../external/qunit/qunit.css">
<link rel="stylesheet" href="qunit-composite.css">
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Autocomplete Test Suite</title>

<script src="../../../jquery.js"></script>
<script src="../../../external/jquery/jquery.js"></script>

<link rel="stylesheet" href="../../../external/qunit/qunit.css">
<link rel="stylesheet" href="../qunit-composite.css">
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Button Test Suite</title>

<script src="../../../jquery.js"></script>
<script src="../../../external/jquery/jquery.js"></script>

<link rel="stylesheet" href="../../../external/qunit/qunit.css">
<link rel="stylesheet" href="../qunit-composite.css">
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Core Test Suite</title>

<script src="../../../jquery.js"></script>
<script src="../../../external/jquery/jquery.js"></script>

<link rel="stylesheet" href="../../../external/qunit/qunit.css">
<link rel="stylesheet" href="../qunit-composite.css">
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Datepicker Test Suite</title>

<script src="../../../jquery.js"></script>
<script src="../../../external/jquery/jquery.js"></script>

<link rel="stylesheet" href="../../../external/qunit/qunit.css">
<link rel="stylesheet" href="../qunit-composite.css">
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Dialog Test Suite</title>

<script src="../../../jquery.js"></script>
<script src="../../../external/jquery/jquery.js"></script>

<link rel="stylesheet" href="../../../external/qunit/qunit.css">
<link rel="stylesheet" href="../qunit-composite.css">
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Draggable Test Suite</title>

<script src="../../../jquery.js"></script>
<script src="../../../external/jquery/jquery.js"></script>

<link rel="stylesheet" href="../../../external/qunit/qunit.css">
<link rel="stylesheet" href="../qunit-composite.css">
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Droppable Test Suite</title>

<script src="../../../jquery.js"></script>
<script src="../../../external/jquery/jquery.js"></script>

<link rel="stylesheet" href="../../../external/qunit/qunit.css">
<link rel="stylesheet" href="../qunit-composite.css">
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Effects Test Suite</title>

<script src="../../../jquery.js"></script>
<script src="../../../external/jquery/jquery.js"></script>

<link rel="stylesheet" href="../../../external/qunit/qunit.css">
<link rel="stylesheet" href="../qunit-composite.css">
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Menu Test Suite</title>

<script src="../../../jquery.js"></script>
<script src="../../../external/jquery/jquery.js"></script>

<link rel="stylesheet" href="../../../external/qunit/qunit.css">
<link rel="stylesheet" href="../qunit-composite.css">
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Position Test Suite</title>

<script src="../../../jquery.js"></script>
<script src="../../../external/jquery/jquery.js"></script>

<link rel="stylesheet" href="../../../external/qunit/qunit.css">
<link rel="stylesheet" href="../qunit-composite.css">
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Progressbar Test Suite</title>

<script src="../../../jquery.js"></script>
<script src="../../../external/jquery/jquery.js"></script>

<link rel="stylesheet" href="../../../external/qunit/qunit.css">
<link rel="stylesheet" href="../qunit-composite.css">
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Resizable Test Suite</title>

<script src="../../../jquery.js"></script>
<script src="../../../external/jquery/jquery.js"></script>

<link rel="stylesheet" href="../../../external/qunit/qunit.css">
<link rel="stylesheet" href="../qunit-composite.css">
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Selectable Test Suite</title>

<script src="../../../jquery.js"></script>
<script src="../../../external/jquery/jquery.js"></script>

<link rel="stylesheet" href="../../../external/qunit/qunit.css">
<link rel="stylesheet" href="../qunit-composite.css">
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Selectmenu Test Suite</title>

<script src="../../../jquery.js"></script>
<script src="../../../external/jquery/jquery.js"></script>

<link rel="stylesheet" href="../../../external/qunit/qunit.css">
<link rel="stylesheet" href="../qunit-composite.css">
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Slider Test Suite</title>

<script src="../../../jquery.js"></script>
<script src="../../../external/jquery/jquery.js"></script>

<link rel="stylesheet" href="../../../external/qunit/qunit.css">
<link rel="stylesheet" href="../qunit-composite.css">
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Sortable Test Suite</title>

<script src="../../../jquery.js"></script>
<script src="../../../external/jquery/jquery.js"></script>

<link rel="stylesheet" href="../../../external/qunit/qunit.css">
<link rel="stylesheet" href="../qunit-composite.css">
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Spinner Test Suite</title>

<script src="../../../jquery.js"></script>
<script src="../../../external/jquery/jquery.js"></script>

<link rel="stylesheet" href="../../../external/qunit/qunit.css">
<link rel="stylesheet" href="../qunit-composite.css">
@@ -1,8 +1,8 @@
(function() {

var versions = [
"1.6", "1.6.1", "1.6.2", "1.6.3", "1.6.4",
"1.7", "1.7.1", "1.7.2",
"1.6.0", "1.6.1", "1.6.2", "1.6.3", "1.6.4",
"1.7.0", "1.7.1", "1.7.2",
"1.8.0", "1.8.1", "1.8.2", "1.8.3",
"1.9.0", "1.9.1",
"1.10.0", "1.10.1", "1.10.2",
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Tabs Test Suite</title>

<script src="../../../jquery.js"></script>
<script src="../../../external/jquery/jquery.js"></script>

<link rel="stylesheet" href="../../../external/qunit/qunit.css">
<link rel="stylesheet" href="../qunit-composite.css">
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Tooltip Test Suite</title>

<script src="../../../jquery.js"></script>
<script src="../../../external/jquery/jquery.js"></script>

<link rel="stylesheet" href="../../../external/qunit/qunit.css">
<link rel="stylesheet" href="../qunit-composite.css">
@@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>jQuery UI Widget Test Suite</title>

<script src="../../../jquery.js"></script>
<script src="../../../external/jquery/jquery.js"></script>

<link rel="stylesheet" href="../../../external/qunit/qunit.css">
<link rel="stylesheet" href="../qunit-composite.css">

3 comments on commit c017628

@leobalter

This comment has been minimized.

Copy link
Member

leobalter replied Aug 1, 2014

The previous jquery.js had this following content:

(function() {

var parts = document.location.search.slice( 1 ).split( "&" ),
    length = parts.length,
    i = 0,
    current,
    version,
    url;

for ( ; i < length; i++ ) {
    current = parts[ i ].split( "=" );
    if ( current[ 0 ] === "jquery" ) {
        version = current[ 1 ];
        break;
    }
}

if ( version === "git" ) {
    url = "http://code.jquery.com/jquery-git.js";
} else {
    url = "../../../external/jquery-" + ( version || "1.10.2" ) + "/jquery.js";
}

document.write( "<script src='" + url + "'></script>" );

}() );

And it's still there in the repo, not deleted. This PRs points to the last released version of jQuery

@scottgonzalez

This comment has been minimized.

Copy link
Member Author

scottgonzalez replied Aug 1, 2014

No, the previous jquery.js was a full copy of jQuery. You're looking at a different jquery.js, which is why it has a different path.

@leobalter

This comment has been minimized.

Copy link
Member

leobalter replied Aug 1, 2014

Oh, I see. Thanks for clarifying it to me.

Please sign in to comment.
You can’t perform that action at this time.