aboutsummaryrefslogtreecommitdiffstats
path: root/demos/effect/easing.html
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-08-21 00:12:17 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-08-21 08:06:24 -0400
commitde242d8ca9bf2b90237c413cb91601541798bae9 (patch)
tree42658e1e9ed913dbb5a7c11291df74531f503995 /demos/effect/easing.html
parent009850abbfb78e2334aaf9265abf5a7705a2abf0 (diff)
downloadjquery-ui-de242d8ca9bf2b90237c413cb91601541798bae9.tar.gz
jquery-ui-de242d8ca9bf2b90237c413cb91601541798bae9.zip
Effects: Style updates
Ref #14246 Ref gh-1588
Diffstat (limited to 'demos/effect/easing.html')
-rw-r--r--demos/effect/easing.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/effect/easing.html b/demos/effect/easing.html
index 5985dc699..7d5f4b982 100644
--- a/demos/effect/easing.html
+++ b/demos/effect/easing.html
@@ -37,7 +37,7 @@
ctx = canvas.getContext( "2d" );
ctx.fillStyle = "black";
- // draw background
+ // Draw background
ctx.beginPath();
ctx.moveTo( cradius, 0 );
ctx.quadraticCurveTo( 0, 0, 0, cradius );
@@ -49,21 +49,21 @@
ctx.lineTo( cradius, 0 );
ctx.fill();
- // draw bottom line
+ // Draw bottom line
ctx.strokeStyle = "#555";
ctx.beginPath();
ctx.moveTo( width * 0.1, drawHeight + .5 );
ctx.lineTo( width * 0.9, drawHeight + .5 );
ctx.stroke();
- // draw top line
+ // Draw top line
ctx.strokeStyle = "#555";
ctx.beginPath();
ctx.moveTo( width * 0.1, drawHeight * .3 - .5 );
ctx.lineTo( width * 0.9, drawHeight * .3 - .5 );
ctx.stroke();
- // plot easing
+ // Plot easing
ctx.strokeStyle = "white";
ctx.beginPath();
ctx.lineWidth = 2;
@@ -76,7 +76,7 @@
});
ctx.stroke();
- // animate on click
+ // Animate on click
graph.on( "click", function() {
wrap
.animate( { height: "hide" }, 2000, name )