diff options
author | Timmy Willison <timmywil@users.noreply.github.com> | 2024-12-18 10:14:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-18 10:14:42 -0500 |
commit | 0be13b57cad253dbb5dc7fd3860239b4474d4b26 (patch) | |
tree | 8948841f782fbfe75c716ea30cdbf569c5d58219 | |
parent | 7fb4cf1168f950dbdaf86ef0bb8cd0bfc654bbce (diff) | |
download | jquery-ui-0be13b57cad253dbb5dc7fd3860239b4474d4b26.tar.gz jquery-ui-0be13b57cad253dbb5dc7fd3860239b4474d4b26.zip |
Closes gh-2320
-rw-r--r-- | demos/effect/easing.html | 6 |
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 ]; |