aboutsummaryrefslogtreecommitdiffstats
path: root/tests/visual
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2008-11-18 02:55:25 +0000
committerRichard Worth <rdworth@gmail.com>2008-11-18 02:55:25 +0000
commit29f7dc9a2c078495f6a0ed13c531733146528fb4 (patch)
tree5d56f5a7ecba3c8173de3322c2a85bfecf61348b /tests/visual
parentce69e7ced4e8786ca5164372007c48a11ba90e72 (diff)
downloadjquery-ui-29f7dc9a2c078495f6a0ed13c531733146528fb4.tar.gz
jquery-ui-29f7dc9a2c078495f6a0ed13c531733146528fb4.zip
Removed all trailing whitespace from .js and .html files
Diffstat (limited to 'tests/visual')
-rw-r--r--tests/visual/effects.all.html46
-rw-r--r--tests/visual/effects.all.js40
-rw-r--r--tests/visual/sortable_massive_scale.html4
-rw-r--r--tests/visual/spinner.html6
-rw-r--r--tests/visual/tree.html2
5 files changed, 49 insertions, 49 deletions
diff --git a/tests/visual/effects.all.html b/tests/visual/effects.all.html
index d89dbecd8..a2f095c43 100644
--- a/tests/visual/effects.all.html
+++ b/tests/visual/effects.all.html
@@ -4,10 +4,10 @@
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
<title>Effects Test Suite</title>
<link rel="stylesheet" href="effects.all.css" type="text/css" media="screen" title="no title" charset="utf-8" />
-
+
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="../../ui/effects.core.js"></script>
-
+
<script type="text/javascript" src="../../ui/effects.blind.js"></script>
<script type="text/javascript" src="../../ui/effects.bounce.js"></script>
<script type="text/javascript" src="../../ui/effects.clip.js"></script>
@@ -20,7 +20,7 @@
<script type="text/javascript" src="../../ui/effects.shake.js"></script>
<script type="text/javascript" src="../../ui/effects.slide.js"></script>
<script type="text/javascript" src="../../ui/effects.transfer.js"></script>
-
+
<script type="text/javascript" src="effects.all.js"></script>
</head>
<body>
@@ -38,121 +38,121 @@
<p>Blind vertically</p>
</div>
</li>
-
+
<li>
<div class="effect" id="bounce3times">
<p>Bounce 3 times</p>
</div>
</li>
-
+
<li>
<div class="effect" id="clipHorizontally">
<p>Clip horizontally</p>
</div>
</li>
-
+
<li>
<div class="effect" id="clipVertically">
<p>Clip vertically</p>
</div>
</li>
-
+
<li>
<div class="effect" id="dropDown">
<p>Drop down</p>
</div>
</li>
-
+
<li>
<div class="effect" id="dropUp">
<p>Drop up</p>
</div>
</li>
-
+
<li>
<div class="effect" id="dropLeft">
<p>Drop left</p>
</div>
</li>
-
+
<li>
<div class="effect" id="dropRight">
<p>Drop right</p>
</div>
</li>
-
+
<li>
<div class="effect" id="explode9">
<p>Explode in 9 pieces</p>
</div>
</li>
-
+
<li>
<div class="effect" id="explode36">
<p>Explode in 36 pieces</p>
</div>
</li>
-
+
<li>
<div class="effect" id="fold">
<p>Fold</p>
</div>
</li>
-
+
<li>
<div class="effect" id="highlight">
<p>Highlight</p>
</div>
</li>
-
+
<li>
<div class="effect" id="pulsate">
<p>Pulsate 2 times</p>
</div>
</li>
-
+
<li>
<div class="effect" id="puff">
<p>Puff</p>
</div>
</li>
-
+
<li>
<div class="effect" id="scale">
<p>Scale</p>
</div>
</li>
-
+
<li>
<div class="effect" id="shake">
<p>Shake</p>
</div>
</li>
-
+
<li>
<div class="effect" id="slideDown">
<p>Slide down</p>
</div>
</li>
-
+
<li>
<div class="effect" id="slideUp">
<p>Slide up</p>
</div>
</li>
-
+
<li>
<div class="effect" id="slideLeft">
<p>Slide left</p>
</div>
</li>
-
+
<li>
<div class="effect" id="slideRight">
<p>Slide right</p>
</div>
</li>
-
+
<li>
<div class="effect" id="transfer">
<p>Transfer to first element</p>
diff --git a/tests/visual/effects.all.js b/tests/visual/effects.all.js
index b52b23726..f383199c2 100644
--- a/tests/visual/effects.all.js
+++ b/tests/visual/effects.all.js
@@ -1,5 +1,5 @@
$(document).ready(function() {
-
+
$("div.effect")
.hover(function() {
$(this).addClass("hover");
@@ -7,16 +7,16 @@ $(document).ready(function() {
$(this).removeClass("hover");
})
;
-
-
+
+
var effect = function(el, n, o) {
-
+
$.extend(o, {
easing: "easeOutQuint"
});
-
+
$(el).bind("click", function() {
-
+
$(this).addClass("current").hide(n, o, 1000, function() {
var self = this;
window.setTimeout(function() {
@@ -24,42 +24,42 @@ $(document).ready(function() {
},500);
});
});
-
+
};
-
+
effect("#blindHorizontally", "blind", { direction: "horizontal" });
effect("#blindVertically", "blind", { direction: "vertical" });
-
+
effect("#bounce3times", "bounce", { times: 3 });
-
+
effect("#clipHorizontally", "clip", { direction: "horizontal" });
effect("#clipVertically", "clip", { direction: "vertical" });
-
+
effect("#dropDown", "drop", { direction: "down" });
effect("#dropUp", "drop", { direction: "up" });
effect("#dropLeft", "drop", { direction: "left" });
effect("#dropRight", "drop", { direction: "right" });
-
+
effect("#explode9", "explode", { });
effect("#explode36", "explode", { pieces: 36 });
-
+
effect("#fold", "fold", { size: 50 });
-
+
effect("#highlight", "highlight", { });
-
+
effect("#pulsate", "pulsate", { times: 2 });
-
+
effect("#puff", "puff", { times: 2 });
effect("#scale", "scale", { });
-
+
$("#shake").bind("click", function() { $(this).addClass("current").effect("shake", {}, 100, function() { $(this).removeClass("current"); }); });
-
+
effect("#slideDown", "slide", { direction: "down" });
effect("#slideUp", "slide", { direction: "up" });
effect("#slideLeft", "slide", { direction: "left" });
effect("#slideRight", "slide", { direction: "right" });
-
+
$("#transfer").bind("click", function() { $(this).addClass("current").effect("transfer", { to: "div:eq(0)" }, 1000, function() { $(this).removeClass("current"); }); });
-
+
}); \ No newline at end of file
diff --git a/tests/visual/sortable_massive_scale.html b/tests/visual/sortable_massive_scale.html
index 591341ad2..a21485415 100644
--- a/tests/visual/sortable_massive_scale.html
+++ b/tests/visual/sortable_massive_scale.html
@@ -6,11 +6,11 @@
<script type="text/javascript" src="../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../ui/ui.sortable.js"></script>
<script type="text/javascript" src="../../ui/ui.draggable.js"></script>
-
+
<script type="text/javascript">
-
+
$(document).ready( function() {
$('ul').not(".draggable").sortable({ items: "li" });
$("ul.draggable li").draggable({ helper: "clone", connectToSortable: "ul" });
diff --git a/tests/visual/spinner.html b/tests/visual/spinner.html
index b9151f9ad..60b8b1279 100644
--- a/tests/visual/spinner.html
+++ b/tests/visual/spinner.html
@@ -20,7 +20,7 @@ $(function(){
}
};
}
-
+
var itemList = [
{url: "http://ejohn.org", title: "John Resig"},
{url: "http://bassistance.de/", title: "J&ouml;rn Zaefferer"},
@@ -36,7 +36,7 @@ $(function(){
{url: "http://www.codylindley.com/", title: "Cody Lindley"},
{url: "http://malsup.com/jquery/", title: "Mike Alsup"}
];
-
+
var opts = {
's1': {},
's2': {stepping: 0.25},
@@ -52,7 +52,7 @@ $(function(){
ui.add('<a href="'+ itemList[i].url +'" target="_blank">'+ itemList[i].title +'</a>');
}
},
-
+
// method 2: use the format and items options in combination
format: '%(title) <a href="%(url)" target="_blank">&raquo;</a>',
items: itemList
diff --git a/tests/visual/tree.html b/tests/visual/tree.html
index 988e7d132..07b12a13e 100644
--- a/tests/visual/tree.html
+++ b/tests/visual/tree.html
@@ -23,7 +23,7 @@ $("ul.sortable").tree({
});
-
+
});
</script>