aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDave Methvin <dave.methvin@gmail.com>2013-01-26 10:48:10 -0500
committerDave Methvin <dave.methvin@gmail.com>2013-01-26 10:48:10 -0500
commit58cd84f9d55ba8ce4311265990bd94cea73c4725 (patch)
treebd437633deb188241e4dcffc2138fc34fc28ad83 /test
parent487b703521e63188102c73e8ce6ce203d28f260b (diff)
downloadjquery-58cd84f9d55ba8ce4311265990bd94cea73c4725.tar.gz
jquery-58cd84f9d55ba8ce4311265990bd94cea73c4725.zip
Fix #13316. Use minified version in unit testing.
Diffstat (limited to 'test')
-rw-r--r--test/data/ajax/unreleasedXHR.html2
-rw-r--r--test/data/dimensions/documentLarge.html2
-rw-r--r--test/data/dimensions/documentSmall.html2
-rw-r--r--test/data/event/promiseReady.html2
-rw-r--r--test/data/event/syncReady.html2
-rw-r--r--test/data/manipulation/iframe-denied.html2
-rw-r--r--test/data/offset/absolute.html2
-rw-r--r--test/data/offset/body.html2
-rw-r--r--test/data/offset/fixed.html2
-rw-r--r--test/data/offset/relative.html2
-rw-r--r--test/data/offset/scroll.html2
-rw-r--r--test/data/offset/static.html2
-rw-r--r--test/data/offset/table.html2
-rw-r--r--test/data/selector/html5_selector.html2
-rw-r--r--test/data/selector/sizzle_cache.html2
-rw-r--r--test/data/support/bodyBackground.html2
-rw-r--r--test/data/support/shrinkWrapBlocks.html2
-rw-r--r--test/data/support/testElementCrash.html2
-rw-r--r--test/delegatetest.html2
-rw-r--r--test/hovertest.html2
-rw-r--r--test/index.html12
-rw-r--r--test/localfile.html2
-rw-r--r--test/networkerror.html2
-rw-r--r--test/readywait.html2
24 files changed, 29 insertions, 29 deletions
diff --git a/test/data/ajax/unreleasedXHR.html b/test/data/ajax/unreleasedXHR.html
index d516a0c52..6c3d8210b 100644
--- a/test/data/ajax/unreleasedXHR.html
+++ b/test/data/ajax/unreleasedXHR.html
@@ -3,7 +3,7 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Attempt to block tests because of dangling XHR requests (IE)</title>
-<script type="text/javascript" src="../../../dist/jquery.js"></script>
+<script type="text/javascript" src="../../../dist/jquery.min.js"></script>
<script type="text/javascript">
window.onunload = function() {};
jQuery(function() {
diff --git a/test/data/dimensions/documentLarge.html b/test/data/dimensions/documentLarge.html
index b2fabd144..2b5506c10 100644
--- a/test/data/dimensions/documentLarge.html
+++ b/test/data/dimensions/documentLarge.html
@@ -11,7 +11,7 @@
</head>
<body>
<div>
- <script src="../../../dist/jquery.js"></script>
+ <script src="../../../dist/jquery.min.js"></script>
</div>
</body>
</html>
diff --git a/test/data/dimensions/documentSmall.html b/test/data/dimensions/documentSmall.html
index d5eeacfc2..12cbf9385 100644
--- a/test/data/dimensions/documentSmall.html
+++ b/test/data/dimensions/documentSmall.html
@@ -15,7 +15,7 @@
</head>
<body>
<div>
- <script src="../../../dist/jquery.js"></script>
+ <script src="../../../dist/jquery.min.js"></script>
</div>
</body>
</html>
diff --git a/test/data/event/promiseReady.html b/test/data/event/promiseReady.html
index 3ea11f05e..d2b166f32 100644
--- a/test/data/event/promiseReady.html
+++ b/test/data/event/promiseReady.html
@@ -3,7 +3,7 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Test case for jQuery ticket #11470</title>
-<script type="text/javascript" src="../../../dist/jquery.js"></script>
+<script type="text/javascript" src="../../../dist/jquery.min.js"></script>
<script type="text/javascript">
jQuery.when( jQuery.ready ).done(function() {
jQuery("body").append("<div>modifying DOM</div>");
diff --git a/test/data/event/syncReady.html b/test/data/event/syncReady.html
index 126e2d57f..6c2fc0e96 100644
--- a/test/data/event/syncReady.html
+++ b/test/data/event/syncReady.html
@@ -3,7 +3,7 @@
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Test case for jQuery ticket #10067</title>
-<script type="text/javascript" src="../../../dist/jquery.js"></script>
+<script type="text/javascript" src="../../../dist/jquery.min.js"></script>
</head>
<body>
diff --git a/test/data/manipulation/iframe-denied.html b/test/data/manipulation/iframe-denied.html
index da205ff49..28a530575 100644
--- a/test/data/manipulation/iframe-denied.html
+++ b/test/data/manipulation/iframe-denied.html
@@ -6,7 +6,7 @@
</head>
<body>
<div id="qunit-fixture"></div>
- <script src="../../../dist/jquery.js"></script>
+ <script src="../../../dist/jquery.min.js"></script>
<script>
var script = document.getElementsByTagName( "script" )[ 0 ],
div = document.createElement( "div" ),
diff --git a/test/data/offset/absolute.html b/test/data/offset/absolute.html
index 78db1a378..7c35ee3b7 100644
--- a/test/data/offset/absolute.html
+++ b/test/data/offset/absolute.html
@@ -15,7 +15,7 @@
p.instructions { position: absolute; bottom: 0; }
#positionTest { position: absolute; }
</style>
- <script src="../../../dist/jquery.js"></script>
+ <script src="../../../dist/jquery.min.js"></script>
<script type="text/javascript" charset="utf-8">
jQuery(function($) {
$('.absolute').click(function() {
diff --git a/test/data/offset/body.html b/test/data/offset/body.html
index c5d7e66d7..dd3193f91 100644
--- a/test/data/offset/body.html
+++ b/test/data/offset/body.html
@@ -9,7 +9,7 @@
#marker { position: absolute; border: 2px solid #000; width: 50px; height: 50px; background: #ccc; }
#firstElement { width: 50px; height: 50px; background: green; }
</style>
- <script src="../../../dist/jquery.js"></script>
+ <script src="../../../dist/jquery.min.js"></script>
<script type="text/javascript" charset="utf-8">
jQuery(function($) {
$('body').click(function() {
diff --git a/test/data/offset/fixed.html b/test/data/offset/fixed.html
index 6fa2af992..1b35f5d35 100644
--- a/test/data/offset/fixed.html
+++ b/test/data/offset/fixed.html
@@ -12,7 +12,7 @@
#forceScroll { width: 5000px; height: 5000px; }
#marker { position: absolute; border: 2px solid #000; width: 50px; height: 50px; background: #ccc; }
</style>
- <script src="../../../dist/jquery.js"></script>
+ <script src="../../../dist/jquery.min.js"></script>
<script type="text/javascript" charset="utf-8">
jQuery(function($) {
window.scrollTo(1000,1000);
diff --git a/test/data/offset/relative.html b/test/data/offset/relative.html
index 33b6abb6d..91b6cbbc5 100644
--- a/test/data/offset/relative.html
+++ b/test/data/offset/relative.html
@@ -10,7 +10,7 @@
#relative-2 { top: 20px; left: 20px; }
#marker { position: absolute; border: 2px solid #000; width: 50px; height: 50px; background: #ccc; }
</style>
- <script src="../../../dist/jquery.js"></script>
+ <script src="../../../dist/jquery.min.js"></script>
<script type="text/javascript" charset="utf-8">
jQuery(function($) {
$('.relative').click(function() {
diff --git a/test/data/offset/scroll.html b/test/data/offset/scroll.html
index 716891c86..f8c638494 100644
--- a/test/data/offset/scroll.html
+++ b/test/data/offset/scroll.html
@@ -13,7 +13,7 @@
#forceScroll { width: 5000px; height: 5000px; }
#marker { position: absolute; border: 2px solid #000; width: 50px; height: 50px; background: #ccc; }
</style>
- <script src="../../../dist/jquery.js"></script>
+ <script src="../../../dist/jquery.min.js"></script>
<script type="text/javascript" charset="utf-8">
jQuery(function($) {
window.scrollTo(1000,1000);
diff --git a/test/data/offset/static.html b/test/data/offset/static.html
index 674a7d03a..cf1a9a980 100644
--- a/test/data/offset/static.html
+++ b/test/data/offset/static.html
@@ -10,7 +10,7 @@
#static-2 { top: 20px; left: 20px; }
#marker { position: absolute; border: 2px solid #000; width: 50px; height: 50px; background: #ccc; }
</style>
- <script src="../../../dist/jquery.js"></script>
+ <script src="../../../dist/jquery.min.js"></script>
<script type="text/javascript" charset="utf-8">
jQuery(function($) {
$('.static').click(function() {
diff --git a/test/data/offset/table.html b/test/data/offset/table.html
index 004f4acb0..e8e431a8a 100644
--- a/test/data/offset/table.html
+++ b/test/data/offset/table.html
@@ -10,7 +10,7 @@
th, td { border: 1px solid #000; width: 100px; height: 100px; }
#marker { position: absolute; border: 2px solid #000; width: 50px; height: 50px; background: #ccc; }
</style>
- <script src="../../../dist/jquery.js"></script>
+ <script src="../../../dist/jquery.min.js"></script>
<script type="text/javascript" charset="utf-8">
jQuery(function($) {
$('table, th, td').click(function() {
diff --git a/test/data/selector/html5_selector.html b/test/data/selector/html5_selector.html
index c62328903..2124a6eb3 100644
--- a/test/data/selector/html5_selector.html
+++ b/test/data/selector/html5_selector.html
@@ -4,7 +4,7 @@
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<title>jQuery selector - attributes</title>
- <script src="../../../dist/jquery.js"></script>
+ <script src="../../../dist/jquery.min.js"></script>
<script id="script1"
defer
diff --git a/test/data/selector/sizzle_cache.html b/test/data/selector/sizzle_cache.html
index 5b8bbb485..0c81b9826 100644
--- a/test/data/selector/sizzle_cache.html
+++ b/test/data/selector/sizzle_cache.html
@@ -8,7 +8,7 @@
<script>
var $cached = jQuery.noConflict(true);
</script>
- <script src="../../../dist/jquery.js"></script>
+ <script src="../../../dist/jquery.min.js"></script>
</head>
<body>
diff --git a/test/data/support/bodyBackground.html b/test/data/support/bodyBackground.html
index ebfa341c4..b0abc074f 100644
--- a/test/data/support/bodyBackground.html
+++ b/test/data/support/bodyBackground.html
@@ -17,7 +17,7 @@
</head>
<body>
<div>
- <script src="../../../dist/jquery.js"></script>
+ <script src="../../../dist/jquery.min.js"></script>
</div>
<script>
jQuery(function() {
diff --git a/test/data/support/shrinkWrapBlocks.html b/test/data/support/shrinkWrapBlocks.html
index af1493937..1ae15bfb5 100644
--- a/test/data/support/shrinkWrapBlocks.html
+++ b/test/data/support/shrinkWrapBlocks.html
@@ -12,7 +12,7 @@
</head>
<body>
<div>
- <script src="../../../dist/jquery.js"></script>
+ <script src="../../../dist/jquery.min.js"></script>
</div>
<script>
jQuery(function() {
diff --git a/test/data/support/testElementCrash.html b/test/data/support/testElementCrash.html
index 315a5ddd0..f5bc1b3dd 100644
--- a/test/data/support/testElementCrash.html
+++ b/test/data/support/testElementCrash.html
@@ -7,7 +7,7 @@
background: url('../1x1.jpg');
}
</style>
- <script src="../../../dist/jquery.js"></script>
+ <script src="../../../dist/jquery.min.js"></script>
</head>
<body>
<script>
diff --git a/test/delegatetest.html b/test/delegatetest.html
index 9c3718b19..db773ef9e 100644
--- a/test/delegatetest.html
+++ b/test/delegatetest.html
@@ -2,7 +2,7 @@
<html>
<head>
<title>Event Delegation Tests</title>
-<script src="../dist/jquery.js"></script>
+<script src="../dist/jquery.min.js"></script>
<style>
table {
border-collapse: collapse;
diff --git a/test/hovertest.html b/test/hovertest.html
index 2f85d5e62..151398fb1 100644
--- a/test/hovertest.html
+++ b/test/hovertest.html
@@ -1,7 +1,7 @@
<html>
<head>
<title>Hover tests</title>
-<script src="../dist/jquery.js"></script>
+<script src="../dist/jquery.min.js"></script>
<style>
/* Remove body dimensions so we can test enter/leave to surrounding browser chrome */
body, html {
diff --git a/test/index.html b/test/index.html
index 9f8edfe20..cedbb8282 100644
--- a/test/index.html
+++ b/test/index.html
@@ -16,16 +16,16 @@
<script src="qunit/qunit/qunit.js"></script>
<script>
(function() {
- var src = "../dist/jquery.js";
+ var src = "../dist/jquery.min.js";
// Config parameter to use minified jQuery
QUnit.config.urlConfig.push({
- id: "min",
- label: "Load minified",
- tooltip: "Load the minified version of the jQuery build"
+ id: "dev",
+ label: "Load unminified",
+ tooltip: "Load the development (unminified) jQuery file"
});
- if ( QUnit.urlParams.min ) {
- src = "../dist/jquery.min.js";
+ if ( QUnit.urlParams.dev ) {
+ src = "../dist/jquery.js";
}
// Config parameter to force basic code paths
diff --git a/test/localfile.html b/test/localfile.html
index 7d49c44e1..8d3fb34a8 100644
--- a/test/localfile.html
+++ b/test/localfile.html
@@ -4,7 +4,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jQuery Local File Test</title>
<!-- Includes -->
- <script src="../dist/jquery.js"></script>
+ <script src="../dist/jquery.min.js"></script>
<style>
.error { color: red; }
.success { color: green; }
diff --git a/test/networkerror.html b/test/networkerror.html
index 0c6b61f15..587786610 100644
--- a/test/networkerror.html
+++ b/test/networkerror.html
@@ -15,7 +15,7 @@
<style>
div { margin-top: 10px; }
</style>
- <script src="../dist/jquery.js"></script>
+ <script src="../dist/jquery.min.js"></script>
<script type="text/javascript">
$('button').live('click', function () {
$.ajax({
diff --git a/test/readywait.html b/test/readywait.html
index 9983be432..4738b1b95 100644
--- a/test/readywait.html
+++ b/test/readywait.html
@@ -14,7 +14,7 @@
#output { background-color: green }
#expectedOutput { background-color: green }
</style>
- <script src="../dist/jquery.js"></script>
+ <script src="../dist/jquery.min.js"></script>
<!-- Load the script loader that uses
jQuery.readyWait -->