From 0be13b57cad253dbb5dc7fd3860239b4474d4b26 Mon Sep 17 00:00:00 2001 From: Timmy Willison Date: Wed, 18 Dec 2024 10:14:42 -0500 Subject: [PATCH] Demos: fix easing demos Closes gh-2320 --- demos/effect/easing.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/demos/effect/easing.html b/demos/effect/easing.html index 4bee1c41f..3014f7620 100644 --- a/demos/effect/easing.html +++ b/demos/effect/easing.html @@ -26,8 +26,12 @@ height = 100; $.each( $.easing, function( name, impl ) { + // Skip _default property + if ( typeof impl !== "function" ) { + return; + } var graph = $( "
" ).addClass( "graph" ).appendTo( "#graphs" ), - text = $( "
" ).text( ++i + ". " + name ).appendTo( graph ), + text = $( "
" ).text( name ).css({ fontSize: "13px", textAlign: "center", whiteSpace: "nowrap" }).appendTo( graph ), wrap = $( "
" ).appendTo( graph ).css( 'overflow', 'hidden' ), canvas = $( "" ).appendTo( wrap )[ 0 ];