Skip to content
Permalink
Browse files

effects.tests: Adding 'size' effect to the visual effect tests

  • Loading branch information...
gnarf committed May 5, 2011
1 parent 116acb4 commit c73e40adbec6d3240e92b125e55eae38532ed359
Showing with 7 additions and 0 deletions.
  1. +6 −0 tests/visual/effects.all.html
  2. +1 −0 tests/visual/effects.all.js
@@ -145,6 +145,12 @@
</div>
</li>

<li>
<div class="effect" id="size">
<p>Size</p>
</div>
</li>

<li>
<div class="effect" id="slideDown">
<p>Slide down</p>
@@ -61,6 +61,7 @@ $(function() {

effect("#puff", "puff", { times: 2 });
effect("#scale", "scale", {});
effect("#size", "size", { from: { width: 300, height: 300 }});

$("#shake").bind("click", function() { $(this).addClass("current").effect("shake", {}, 100, function() { $(this).removeClass("current"); }); });

0 comments on commit c73e40a

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