]> source.dussan.org Git - jquery.git/commitdiff
Fix #13316. Use minified version in unit testing.
authorDave Methvin <dave.methvin@gmail.com>
Sat, 26 Jan 2013 15:48:10 +0000 (10:48 -0500)
committerDave Methvin <dave.methvin@gmail.com>
Sat, 26 Jan 2013 15:48:10 +0000 (10:48 -0500)
24 files changed:
test/data/ajax/unreleasedXHR.html
test/data/dimensions/documentLarge.html
test/data/dimensions/documentSmall.html
test/data/event/promiseReady.html
test/data/event/syncReady.html
test/data/manipulation/iframe-denied.html
test/data/offset/absolute.html
test/data/offset/body.html
test/data/offset/fixed.html
test/data/offset/relative.html
test/data/offset/scroll.html
test/data/offset/static.html
test/data/offset/table.html
test/data/selector/html5_selector.html
test/data/selector/sizzle_cache.html
test/data/support/bodyBackground.html
test/data/support/shrinkWrapBlocks.html
test/data/support/testElementCrash.html
test/delegatetest.html
test/hovertest.html
test/index.html
test/localfile.html
test/networkerror.html
test/readywait.html

index d516a0c525ca85d5b9da7e488fb02b5d7ff1af7a..6c3d8210b1e71935a62f34fd8a2983584141f173 100644 (file)
@@ -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() {
index b2fabd144db14457bd654f356dc2a3966d87e551..2b5506c10e899104ce8056f46957205969938607 100644 (file)
@@ -11,7 +11,7 @@
 </head>
 <body>
        <div>
-               <script src="../../../dist/jquery.js"></script>
+               <script src="../../../dist/jquery.min.js"></script>
        </div>
 </body>
 </html>
index d5eeacfc2e868901ef1b1f4297a452ef436a2ca6..12cbf93855953c4ac4684c03fe958fb4a5f37f21 100644 (file)
@@ -15,7 +15,7 @@
 </head>
 <body>
        <div>
-               <script src="../../../dist/jquery.js"></script>
+               <script src="../../../dist/jquery.min.js"></script>
        </div>
 </body>
 </html>
index 3ea11f05eacd0a335ce113c1bb1389cae42715c2..d2b166f32201f8aadc9ee1172a4c1da1e6a8b379 100644 (file)
@@ -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>");
index 126e2d57f4570be9ae9481a6e2118bcf675c06c1..6c2fc0e96bb9e7f283fed520579adc8748726455 100644 (file)
@@ -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>
 
index da205ff49a3565a590cdcd5cf39ac8cf8c0a2ce7..28a53057594423d0e39384f99f3b4f75a5ed1d28 100644 (file)
@@ -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" ),
index 78db1a3785bc49f91de3dea84157a2c00294398e..7c35ee3b74ca1b17e8ed138258ec0343b50f30ec 100644 (file)
@@ -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() {
index c5d7e66d751bb79ff10b5e45315356e242796e6e..dd3193f9170a4df0b6da0d8e25e0932bbb15afb5 100644 (file)
@@ -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() {
index 6fa2af992eab2de434c45c15dace18047a6c2592..1b35f5d358d8a1fd83157cb585a490a898232718 100644 (file)
@@ -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);
index 33b6abb6d067849294356d5acbe193cd6758e344..91b6cbbc5bd530f9898bf976aec5b7516d0f86f3 100644 (file)
@@ -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() {
index 716891c868f0dc355528acb5f2dc8356ec93f2bf..f8c638494cb3c8aab6073b87aa6d45c42530ab27 100644 (file)
@@ -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);
index 674a7d03aac29108b6f0065bbbc62b63c06c0525..cf1a9a9807b4ce5e5fd32de3881ef6944002af2e 100644 (file)
@@ -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() {
index 004f4acb0f3c7667804b1bc561a3071a115538a0..e8e431a8a7ce23493a93a62c82d2e6b02c9075dd 100644 (file)
@@ -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() {
index c62328903add2785533d9c58579ec886d0a0bdb3..2124a6eb3bdd4cfa47db28c167795e74d33428c4 100644 (file)
@@ -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
index 5b8bbb485b990062a192724c5cb9cb5d0162f9f9..0c81b98262d7e2daf5b2bc8d0ccc9f17a77f3e2e 100644 (file)
@@ -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>
index ebfa341c4ba75be029941e2e6911501b787a7861..b0abc074fe2c4c32bd27a19e9d2a34e432e12435 100644 (file)
@@ -17,7 +17,7 @@
 </head>
 <body>
        <div>
-               <script src="../../../dist/jquery.js"></script>
+               <script src="../../../dist/jquery.min.js"></script>
        </div>
        <script>
                jQuery(function() {
index af1493937fbb53be65ba9217865f25225cfa42d0..1ae15bfb5677375b5d2607490be03a4ae8813a5f 100644 (file)
@@ -12,7 +12,7 @@
 </head>
 <body>
        <div>
-               <script src="../../../dist/jquery.js"></script>
+               <script src="../../../dist/jquery.min.js"></script>
        </div>
        <script>
                jQuery(function() {
index 315a5ddd0893b1bcd2b85797e9db4bffdceeba1e..f5bc1b3ddde0e78f9e4788b9c693cdebaa7d71de 100644 (file)
@@ -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>
index 9c3718b1924764669de7c3eede02cca3cf9f2292..db773ef9e1f9fa591e8e14129b4996245ae687f8 100644 (file)
@@ -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;
index 2f85d5e62bdb8348fb4ce53337e324f66c89dd97..151398fb18a40d6349d7e8a8d37605a2dd7f025c 100644 (file)
@@ -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 {
index 9f8edfe2028cbce570d8f3b60fa7a80eecb44d17..cedbb8282140018b5a02427ca5327883a4cae285 100644 (file)
        <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
index 7d49c44e1bb92c9ddeb36aba78d2dc96d313c2e9..8d3fb34a80513f7af0b23fc03f2ce3f09cd0ba65 100644 (file)
@@ -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; }
index 0c6b61f152856252704a0ae184091bcf44df476f..587786610419787f61a675337219b551383f27fa 100644 (file)
@@ -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({
index 9983be432272a841ca2e361be10b3d9f8c813f01..4738b1b9529a6ddff9b9ea7ee3183c185bf13029 100644 (file)
@@ -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 -->