aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimmy Willison <timmywil@users.noreply.github.com>2024-12-18 10:14:42 -0500
committerGitHub <noreply@github.com>2024-12-18 10:14:42 -0500
commit0be13b57cad253dbb5dc7fd3860239b4474d4b26 (patch)
tree8948841f782fbfe75c716ea30cdbf569c5d58219
parent7fb4cf1168f950dbdaf86ef0bb8cd0bfc654bbce (diff)
downloadjquery-ui-0be13b57cad253dbb5dc7fd3860239b4474d4b26.tar.gz
jquery-ui-0be13b57cad253dbb5dc7fd3860239b4474d4b26.zip
Demos: fix easing demosHEADmain
Closes gh-2320
-rw-r--r--demos/effect/easing.html6
1 files changed, 5 insertions, 1 deletions
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 = $( "<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 ];