Side navigation
#7068 closed bug (duplicate)
Opened September 22, 2010 11:09PM UTC
Closed September 23, 2010 12:41AM UTC
Animation breaks with incorrect easing function name
Reported by: | Motty | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | 1.4.3 |
Component: | effects | Version: | 1.4.2 |
Keywords: | easing | Cc: | |
Blocked by: | Blocking: |
Description
Adding an incorrect easing function name will cause an error
$("#block").animate({ width: "100px" }, 1500, "schwing"); // incorrect easing name causes error
Demo here: http://jsfiddle.net/5Rm5T/
I believe this might fix it, but maybe someone who knows the core better can find a better solution:
Line 5853:
var defaultEasing = jQuery.isFunction($.easing[this.options.easing]) ? this.options.easing : (jQuery.easing.swing ? "swing" : "linear");
Note: corrected repost of ticket #7064.
Attachments (0)
Change History (1)
Changed September 23, 2010 12:41AM UTC by comment:1
priority: | → undecided |
---|---|
resolution: | → duplicate |
status: | new → closed |
Duplicate of #3626.