Skip to content
Permalink
Browse files

Removed all trailing whitespace from .js and .html files

  • Loading branch information...
rdworth committed Nov 18, 2008
1 parent ce69e7c commit 29f7dc9a2c078495f6a0ed13c531733146528fb4
Showing with 1,299 additions and 1,299 deletions.
  1. +13 −13 demos/functional/index.html
  2. +2 −2 demos/functional/js/behaviour.functionaldemos.js
  3. +22 −22 demos/functional/js/behaviour.js
  4. +34 −34 demos/functional/js/functional.demo.js
  5. +2 −2 demos/functional/templates/ui.dialog.html
  6. +1 −1 demos/functional/templates/ui.droppable.photos.html
  7. +1 −1 demos/functional/templates/ui.effects.easing.html
  8. +2 −2 demos/functional/templates/ui.effects.general.html
  9. +2 −2 demos/functional/templates/ui.progressbar.html
  10. +3 −3 demos/functional/templates/ui.slider.html
  11. +8 −8 demos/functional/templates/ui.sortable.ex1.html
  12. +5 −5 demos/functional/templates/ui.sortable.ex3.html
  13. +6 −6 demos/functional/templates/ui.sortable.html
  14. +2 −2 demos/functional/templates/ui.spinner.html
  15. +3 −3 demos/functional/templates/ui.tabs.ex1.html
  16. +20 −20 demos/real-world/effects/demo.js
  17. +23 −23 demos/real-world/effects/index.html
  18. +4 −4 demos/real-world/image-cropper/index.html
  19. +15 −15 demos/real-world/layout/demo.js
  20. +15 −15 demos/real-world/layout/index.html
  21. +2 −2 demos/real-world/photo-manager/index.html
  22. +5 −5 demos/real-world/photo-manager/js/demo.js
  23. +38 −38 demos/real-world/photo-manager/js/jquery.livequery.js
  24. +2 −2 demos/real-world/range-interface/index.html
  25. +11 −11 demos/real-world/splitpane/index.html
  26. +4 −4 tests/accordion.html
  27. +1 −1 tests/accordion.js
  28. +3 −3 tests/all.html
  29. +3 −3 tests/all_2.html
  30. +4 −4 tests/core.html
  31. +10 −10 tests/core.js
  32. +2 −2 tests/datepicker.html
  33. +4 −4 tests/dialog.html
  34. +69 −69 tests/dialog.js
  35. +4 −4 tests/draggable.html
  36. +55 −55 tests/draggable.js
  37. +2 −2 tests/droppable.html
  38. +1 −1 tests/droppable.js
  39. +4 −4 tests/progressbar.html
  40. +1 −1 tests/progressbar.js
  41. +3 −3 tests/resizable.html
  42. +31 −31 tests/resizable.js
  43. +4 −4 tests/selectable.html
  44. +7 −7 tests/simulate/jquery.simulate.js
  45. +4 −4 tests/slider.html
  46. +9 −9 tests/slider.js
  47. +4 −4 tests/sortable.html
  48. +4 −4 tests/sortable.js
  49. +4 −4 tests/spinner.html
  50. +7 −7 tests/spinner.js
  51. +2 −2 tests/tabs.html
  52. +37 −37 tests/tabs.js
  53. +4 −4 tests/ui.html
  54. +23 −23 tests/visual/effects.all.html
  55. +20 −20 tests/visual/effects.all.js
  56. +2 −2 tests/visual/sortable_massive_scale.html
  57. +3 −3 tests/visual/spinner.html
  58. +1 −1 tests/visual/tree.html
  59. +5 −5 ui/effects.blind.js
  60. +2 −2 ui/effects.bounce.js
  61. +6 −6 ui/effects.clip.js
  62. +1 −1 ui/effects.core.js
  63. +6 −6 ui/effects.drop.js
  64. +9 −9 ui/effects.explode.js
  65. +6 −6 ui/effects.fold.js
  66. +7 −7 ui/effects.highlight.js
  67. +5 −5 ui/effects.pulsate.js
  68. +17 −17 ui/effects.scale.js
  69. +5 −5 ui/effects.shake.js
  70. +6 −6 ui/effects.slide.js
  71. +6 −6 ui/effects.transfer.js
  72. +37 −37 ui/ui.accordion.js
  73. +74 −74 ui/ui.core.js
  74. +67 −67 ui/ui.datepicker.js
  75. +63 −63 ui/ui.dialog.js
  76. +52 −52 ui/ui.droppable.js
  77. +31 −31 ui/ui.progressbar.js
  78. +155 −155 ui/ui.resizable.js
  79. +26 −26 ui/ui.selectable.js
  80. +58 −58 ui/ui.slider.js
  81. +15 −15 ui/ui.spinner.js
  82. +63 −63 ui/ui.tabs.js
@@ -3,22 +3,22 @@
<head>
<title>jQuery UI - Functional demos</title>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />

<meta name="keywords" content="jquery,user interface,ui,widgets,interaction,javascript" />
<meta name="description" content="jQuery UI is jQuery's user interface library that comes with many widgets, interaction modules and themes." />
<meta name="author" content="Paul Bakaus" />

<link rel="shortcut icon" href="images/favicon.ico" />
<link rel="icon" href="images/favicon.ico" type="image/x-icon" />


<link rel="stylesheet" href="css/base.css" type="text/css" media="screen">
<link rel="stylesheet" href="css/functional_demos.css" type="text/css" media="screen">
<link rel="stylesheet" href="css/chilli-recipes.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../themes/default/ui.all.css" type="text/css" media="screen" title="Flora (Default)" />

<script type="text/javascript" src="../../jquery-1.2.6.js"></script>

<script type="text/javascript" src="../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../ui/ui.accordion.js"></script>
<script type="text/javascript" src="../../ui/ui.datepicker.js"></script>
@@ -82,7 +82,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 src="js/behaviour.js" type="text/javascript"></script>
<script src="js/behaviour.functionaldemos.js" type="text/javascript"></script>

@@ -111,7 +111,7 @@
<h1 class="logo">
<a href="http://ui.jquery.com/" title="jQuery User Interface"><span>jQuery User Interface</span></a>
</h1>

<div id="dock">
<div class="left"></div>

@@ -204,7 +204,7 @@ <h2>
<li><a href="#ui.resizable" title="Goto Resizable's Component Page">Resizable</a></li>
<li><a href="#ui.selectable" title="Goto Selectable's Component Page">Selectable</a></li>
<li><a href="#ui.sortable" title="Goto Sortable's Component Page">Sortable</a></li>

</ul>
</div>
<br style="clear:both;">
@@ -245,7 +245,7 @@ <h2>
</div>
</td>
<td class="normal">

<div class="normal" id="containerDemo">
<h3>
Instructions
@@ -254,14 +254,14 @@ <h3>

The functional demos are provided to give users an idea of how jQuery UI works. You only need to copy and paste code from the demos. Have fun playing with it.
</p>

<div id="functional-demo-face" style="margin-left: 10px;">
<img src="images/functional-demo-face.png">
</div>

<br>
</div>

</td>
</tr>

@@ -270,7 +270,7 @@ <h3>
</form> </div>
</div>
</div>

<div id="footer">

<div class="bg"></div>
@@ -1,9 +1,9 @@
$(document).ready(function() {

$('.component-links a').history(function() {
loadDemo( $(this).attr('href').replace(/^#/, "") );
});

$.ajaxHistory.initialize();

});
@@ -1,21 +1,21 @@
$(document).ready(function() {

// link demos

$(".demoflow div.wrapper").click(function() {

var demo = $(this).children('img').attr('_demo');

if (demo) {
location.href = '/repository/real-world/' + demo;
}else {
//alert('Under construction!');
}

});

if ($("div.demoflow").size()) {

var inst = new $.ui.carousel($("div.demoflow")[0], { height: 200, width: 310 });

$("div.demoflow-button-left, div.demoflow-button-right").bind("mousedown", function() {
@@ -26,14 +26,14 @@ $(document).ready(function() {
.bind("mouseup", function() {
window.clearInterval(inst.timer);
});

$('.demoflow div.shadow').hover(function() {
this._lastopacity = $(this).css('opacity');
$(this).stop().animate({opacity: 0 }, 300);
}, function() {
$(this).stop().animate({opacity: this._lastopacity }, 300);
});


window.setTimeout(function() {
inst.element.animate({ opacity: 1 },2000); inst.rotate(0,2000,0.45);
@@ -47,13 +47,13 @@ $(document).ready(function() {
$('a').click(function(){
this.blur();
});

// smooth hover effects by DragonInteractive
var hover = hoverEffects();
hover.init();

});

$.ui.carousel = function(element, options) {

this.element = $(element);
@@ -68,41 +68,41 @@ $(document).ready(function() {
paddingX: this.element.outerWidth() / 2,
paddingY: this.element.outerHeight() / 2
});

$("> *", this.element).css({ position: "absolute", top: 0, left: 0, zIndex: 1 });
this.rotate();
this.rotate("right");

this.element.parent().bind("mousewheel", function(event ,delta) {
if(self.autoRotator) window.clearInterval(self.autoRotator);
self.rotate(delta < 0 ? "right" : "left");
return false;
});

};

$.ui.carousel.prototype.rotate = function(d,ani,speed) {

this.start = this.start + (d == "right" ? -(speed || 0.03) : (speed || 0.03));
var o = this.options;
var self = this;

setTimeout(function(){
$("> *", self.element).each(function(i) {
var angle = self.start + i * self.step;
var x = self.radiusX * Math.cos(angle);
var y = self.radiusY * Math.sin(angle);
var _self = this;

var width = o.width * ((self.radiusY+y) / (2 * self.radiusY));
width = (width * width * width) / (o.width * o.width); //This makes the pieces smaller
var height = parseInt(width * o.height / o.width);

//This is highly custom - it will hide the elements at the back
$(_self).css({ visibility: height < 30 ? "hidden" : "visible" });
if(height < 30 && !ani) return; //This imrpoves the speed, but cannot be used with animation


if(ani) {
$(_self).animate({
top: Math.round(self.paddingY + y - height/2) + "px",
@@ -122,7 +122,7 @@ $(document).ready(function() {
}

$("div.shadow",_self).css({ opacity: 1 - (width / o.width) });

});
}, 0);
}
@@ -200,6 +200,6 @@ var hoverEffects = function() {
})
}
};

return self;
};

0 comments on commit 29f7dc9

Please sign in to comment.
You can’t perform that action at this time.