diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2012-06-04 12:48:18 -0400 |
---|---|---|
committer | Rick Waldron <waldron.rick@gmail.com> | 2012-06-04 12:48:18 -0400 |
commit | 7c23b77af2477417205fda9bde5208a81e57e40e (patch) | |
tree | d325a34f92a4792fc5ee6aee8266b86bd0e25a98 /test | |
parent | 9a3046c3752b80da7526dce34968b8422f3d92f8 (diff) | |
download | jquery-7c23b77af2477417205fda9bde5208a81e57e40e.tar.gz jquery-7c23b77af2477417205fda9bde5208a81e57e40e.zip |
Strips IIFEs from modules; Always require built jQuery for tests.
Diffstat (limited to 'test')
-rw-r--r-- | test/csp.php | 2 | ||||
-rw-r--r-- | test/data/dimensions/documentLarge.html | 4 | ||||
-rw-r--r-- | test/data/dimensions/documentSmall.html | 4 | ||||
-rw-r--r-- | test/data/event/asyncReady.html | 2 | ||||
-rw-r--r-- | test/data/event/promiseReady.html | 4 | ||||
-rw-r--r-- | test/data/event/syncReady.html | 4 | ||||
-rw-r--r-- | test/data/offset/absolute.html | 2 | ||||
-rw-r--r-- | test/data/offset/body.html | 2 | ||||
-rw-r--r-- | test/data/offset/fixed.html | 2 | ||||
-rw-r--r-- | test/data/offset/relative.html | 2 | ||||
-rw-r--r-- | test/data/offset/scroll.html | 2 | ||||
-rw-r--r-- | test/data/offset/static.html | 2 | ||||
-rw-r--r-- | test/data/offset/table.html | 2 | ||||
-rw-r--r-- | test/data/selector/html5_selector.html | 2 | ||||
-rw-r--r-- | test/data/selector/sizzle_cache.html | 4 | ||||
-rw-r--r-- | test/data/support/bodyBackground.html | 2 | ||||
-rw-r--r-- | test/data/support/testElementCrash.html | 2 | ||||
-rw-r--r-- | test/delegatetest.html | 6 | ||||
-rw-r--r-- | test/hovertest.html | 4 | ||||
-rw-r--r-- | test/index.html | 4 | ||||
-rw-r--r-- | test/localfile.html | 4 | ||||
-rw-r--r-- | test/networkerror.html | 4 | ||||
-rw-r--r-- | test/readywait.html | 4 |
23 files changed, 35 insertions, 35 deletions
diff --git a/test/csp.php b/test/csp.php index 3a029eb42..9c90300bf 100644 --- a/test/csp.php +++ b/test/csp.php @@ -5,7 +5,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>CSP Test Page</title> - <script src="data/include_js.php"></script> + <script src="/dist/jquery.js"></script> </head> <body> <p>CSP Test Page</p> diff --git a/test/data/dimensions/documentLarge.html b/test/data/dimensions/documentLarge.html index 8b434e719..ee9a709ae 100644 --- a/test/data/dimensions/documentLarge.html +++ b/test/data/dimensions/documentLarge.html @@ -11,7 +11,7 @@ </head> <body> <div> - <script src="../include_js.php"></script> + <script src="/dist/jquery.js"></script> </div> </body> -</html>
\ No newline at end of file +</html> diff --git a/test/data/dimensions/documentSmall.html b/test/data/dimensions/documentSmall.html index 2d2663328..fe55d2125 100644 --- a/test/data/dimensions/documentSmall.html +++ b/test/data/dimensions/documentSmall.html @@ -15,7 +15,7 @@ </head> <body> <div> - <script src="../include_js.php"></script> + <script src="/dist/jquery.js"></script> </div> </body> -</html>
\ No newline at end of file +</html> diff --git a/test/data/event/asyncReady.html b/test/data/event/asyncReady.html index 1d18efc17..f1f6aa20f 100644 --- a/test/data/event/asyncReady.html +++ b/test/data/event/asyncReady.html @@ -19,7 +19,7 @@ if ( document.attachEvent ) { }); } document.getElementsByTagName("head")[ 0 ].appendChild( el ); - el.src = "../include_js.php"; + el.src = "/dist/jquery.js"; }, 1000 ); } </script> diff --git a/test/data/event/promiseReady.html b/test/data/event/promiseReady.html index f799a7e3e..04e45ae8d 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="../include_js.php"></script> +<script type="text/javascript" src="/dist/jquery.js"></script> <script type="text/javascript"> jQuery.when( jQuery.ready ).done(function() { jQuery("body").append("<div>modifying DOM</div>"); @@ -14,4 +14,4 @@ jQuery.when( jQuery.ready ).done(function() { <body> <!-- long loading iframe --> </body> -</html>
\ No newline at end of file +</html> diff --git a/test/data/event/syncReady.html b/test/data/event/syncReady.html index 1b85ce0a8..fcd2ac23a 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="../include_js.php"></script> +<script type="text/javascript" src="/dist/jquery.js"></script> </head> <body> <script type="text/javascript"> @@ -15,4 +15,4 @@ jQuery( document ).ready(function () { <!-- long loading iframe --> <iframe src="longLoad.php?sleep=10&return=false" style="width: 1px; height: 1px"></iframe> </body> -</html>
\ No newline at end of file +</html> diff --git a/test/data/offset/absolute.html b/test/data/offset/absolute.html index 5a0e4afb4..7d659a382 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="../include_js.php"></script> + <script src="/dist/jquery.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 ec7668c10..5e955ea73 100644 --- a/test/data/offset/body.html +++ b/test/data/offset/body.html @@ -8,7 +8,7 @@ body { margin: 1px; padding: 5px; } #marker { position: absolute; border: 2px solid #000; width: 50px; height: 50px; background: #ccc; } </style> - <script src="../include_js.php"></script> + <script src="/dist/jquery.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 8a7b31f19..25e1010f4 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="../include_js.php"></script> + <script src="/dist/jquery.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 361d4b294..8a1203abf 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="../include_js.php"></script> + <script src="/dist/jquery.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 17f01d8fc..26cd6fcaf 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="../include_js.php"></script> + <script src="/dist/jquery.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 cb5ed03eb..64f1d7ec0 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="../include_js.php"></script> + <script src="/dist/jquery.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 4a6a7a470..f5bfbb693 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="../include_js.php"></script> + <script src="/dist/jquery.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 ed0bfbc94..99c5bdbfe 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="../include_js.php"></script> + <script src="/dist/jquery.js"></script> <script id="script1" defer diff --git a/test/data/selector/sizzle_cache.html b/test/data/selector/sizzle_cache.html index 6221263fa..6260e2ab9 100644 --- a/test/data/selector/sizzle_cache.html +++ b/test/data/selector/sizzle_cache.html @@ -4,11 +4,11 @@ <meta http-equiv="Content-type" content="text/html; charset=utf-8"> <title>jQuery selector - sizzle cache</title> - <script src="../include_js.php"></script> + <script src="/dist/jquery.js"></script> <script> var $cached = jQuery.noConflict(true); </script> - <script src="../include_js.php"></script> + <script src="/dist/jquery.js"></script> </head> <body> diff --git a/test/data/support/bodyBackground.html b/test/data/support/bodyBackground.html index 4f0105a1d..d1d118843 100644 --- a/test/data/support/bodyBackground.html +++ b/test/data/support/bodyBackground.html @@ -17,7 +17,7 @@ </head> <body> <div> - <script src="../include_js.php"></script> + <script src="/dist/jquery.js"></script> </div> <script> jQuery(function() { diff --git a/test/data/support/testElementCrash.html b/test/data/support/testElementCrash.html index 6ef9651da..5ea5464b3 100644 --- a/test/data/support/testElementCrash.html +++ b/test/data/support/testElementCrash.html @@ -7,7 +7,7 @@ background: url('http://s1.postimage.org/2d2r8xih0/body_background.png'); } </style> - <script src="../include_js.php"></script> + <script src="/dist/jquery.js"></script> </head> <body> <script> diff --git a/test/delegatetest.html b/test/delegatetest.html index b16771d3d..387005e41 100644 --- a/test/delegatetest.html +++ b/test/delegatetest.html @@ -2,7 +2,7 @@ <html> <head> <title>Event Delegation Tests</title> -<script src="data/include_js.php"></script> +<script src="/dist/jquery.js"></script> <style> table { border-collapse: collapse; @@ -122,7 +122,7 @@ th, td { </table> <form id="autosub"><input type=submit name=subme /></form> - + <script type='text/javascript'> $("#fileversion").text($.fn.jquery); @@ -168,7 +168,7 @@ for ( var i=0; i < events.length; i++ ) { api = m[0], type = m[1], $row = $("<tr><th>"+type+" "+api+"</th></tr>"); - + $("#changes thead td").each(function(){ var id = "#"+this.id, $cell = $('<td></td>'); diff --git a/test/hovertest.html b/test/hovertest.html index a0efd9f4f..5d5355d4c 100644 --- a/test/hovertest.html +++ b/test/hovertest.html @@ -1,7 +1,7 @@ <html> <head> <title>Hover tests</title> -<script src="data/include_js.php"></script> +<script src="/dist/jquery.js"></script> <style> /* Remove body dimensions so we can test enter/leave to surrounding browser chrome */ body, html { @@ -108,7 +108,7 @@ $(function(){ }; // Tests can be activated separately or in combination to check for interference - + $("#hoverbox button").click(function(){ $("#hoverbox") .data({ ins: 0, outs: 0 }) diff --git a/test/index.html b/test/index.html index 62b633c78..2457f11de 100644 --- a/test/index.html +++ b/test/index.html @@ -6,9 +6,9 @@ <link rel="Stylesheet" media="screen" href="qunit/qunit/qunit.css" /> <link rel="Stylesheet" media="screen" href="data/testsuite.css" /> <!-- Includes --> - <script src="data/testinit.js"></script> - <script src="data/include_js.php"></script> + <script src="data/testinit.js"></script> + <script src="/dist/jquery.js"></script> <script src="qunit/qunit/qunit.js"></script> <script src="data/testrunner.js"></script> diff --git a/test/localfile.html b/test/localfile.html index 2c089c4d2..2cfd13004 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="data/include_js.php"></script> + <script src="/dist/jquery.js"></script> <style> .error { color: red; } .success { color: green; } @@ -72,4 +72,4 @@ this.addClass( "error" ).text( "FAIL" ); }); </script> -</body>
\ No newline at end of file +</body> diff --git a/test/networkerror.html b/test/networkerror.html index e258d83d8..64b59f93d 100644 --- a/test/networkerror.html +++ b/test/networkerror.html @@ -15,7 +15,7 @@ <style> div { margin-top: 10px; } </style> - <script src="data/include_js.php"></script> + <script src="/dist/jquery.js"></script> <script type="text/javascript"> $('button').live('click', function () { $.ajax({ @@ -81,4 +81,4 @@ Test fails if the browser notifies an exception. </div> </body> -</html>
\ No newline at end of file +</html> diff --git a/test/readywait.html b/test/readywait.html index a9eab3961..cd749a49d 100644 --- a/test/readywait.html +++ b/test/readywait.html @@ -14,7 +14,7 @@ #output { background-color: green } #expectedOutput { background-color: green } </style> - <script src="data/include_js.php"></script> + <script src="/dist/jquery.js"></script> <!-- Load the script loader that uses jQuery.readyWait --> @@ -37,7 +37,7 @@ jQuery.holdReady Test </h1> <p> - This is a test page for jQuery.readyWait and jQuery.holdReady, + This is a test page for jQuery.readyWait and jQuery.holdReady, see <a href="http://bugs.jquery.com/ticket/6781">#6781</a> and |