From 856ea6a09acef679154a55bb5fb561aad9f99ec4 Mon Sep 17 00:00:00 2001 From: Timmy Willison Date: Tue, 17 Dec 2024 22:26:35 -0500 Subject: [PATCH] Demos: fix easing demos --- 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 4bee1c41f14..3014f762034 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 ];