Skip to content

Commit

Permalink
Demos: fix easing demos
Browse files Browse the repository at this point in the history
Closes gh-2320
  • Loading branch information
timmywil authored Dec 18, 2024
1 parent 7fb4cf1 commit 0be13b5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion demos/effect/easing.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,12 @@
height = 100;

$.each( $.easing, function( name, impl ) {
// Skip _default property
if ( typeof impl !== "function" ) {
return;
}
var graph = $( "<div>" ).addClass( "graph" ).appendTo( "#graphs" ),
text = $( "<div>" ).text( ++i + ". " + name ).appendTo( graph ),
text = $( "<div>" ).text( name ).css({ fontSize: "13px", textAlign: "center", whiteSpace: "nowrap" }).appendTo( graph ),
wrap = $( "<div>" ).appendTo( graph ).css( 'overflow', 'hidden' ),
canvas = $( "<canvas>" ).appendTo( wrap )[ 0 ];

Expand Down

0 comments on commit 0be13b5

Please sign in to comment.