Fix #13316. Use minified version in unit testing.

This commit is contained in:
Dave Methvin 2013-01-26 10:48:10 -05:00
parent 487b703521
commit 58cd84f9d5
24 changed files with 29 additions and 29 deletions

View 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() {

View File

@ -11,7 +11,7 @@
</head>
<body>
<div>
<script src="../../../dist/jquery.js"></script>
<script src="../../../dist/jquery.min.js"></script>
</div>
</body>
</html>

View File

@ -15,7 +15,7 @@
</head>
<body>
<div>
<script src="../../../dist/jquery.js"></script>
<script src="../../../dist/jquery.min.js"></script>
</div>
</body>
</html>

View 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>");

View 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>

View 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" ),

View 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() {

View 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() {

View 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);

View 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() {

View 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);

View 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() {

View 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() {

View 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

View 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>

View 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() {

View 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() {

View 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>

View 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;

View 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 {

View File

@ -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

View 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; }

View 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({

View 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 -->