Skip to content
Permalink
Browse files

effects: demo visualising easing functions, tuning

  • Loading branch information
jzaefferer committed Apr 23, 2009
1 parent 9571d96 commit 5e2ed0c5411051ca95d249d7ddf8de9da2851c62
Showing with 2 additions and 2 deletions.
  1. +2 −2 demos/effect/easing.html
@@ -11,7 +11,7 @@
float: left;
margin-left: 10px;
width: 100px;
height: 160px;
height: 120px;
}
</style>
<script type="text/javascript">
@@ -28,7 +28,7 @@
var graph = $("<div/>").addClass("graph").appendTo("#graphs");
$("<div/>").text(++i + ". " + name).appendTo(graph);

var canvas = $("<canvas/>").appendTo(graph)[0]
var canvas = $("<canvas/>").width(100).height(100).appendTo(graph)[0]
canvas.width = 100;
canvas.height = 135;
var ctx = canvas.getContext("2d");

0 comments on commit 5e2ed0c

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