Skip to main content

Bug Tracker

Side navigation

#1212 closed bug (fixed)

Opened May 21, 2007 03:30AM UTC

Closed June 21, 2007 03:09AM UTC

easing breaks animations

Reported by: kswedberg Owned by:
Priority: major Milestone: 1.1.3
Component: effects Version: 1.1.2
Keywords: fx effects easing Cc: jeresig@gmail.com
Blocked by: Blocking:
Description

animations no longer work when an easing.js plugin is included in the head, even if it isn't being used.

Using this code:

$(document).ready(function() {
  $('#container').fadeTo('slow',0.5);
});

Firebug returns this error:

"jQuery.easing[options.easing] is not a function" (jquery-1.1.3a.js, line 5159).

Test page at http://test.learningjquery.com/easing.html

Attachments (0)
Change History (2)

Changed May 21, 2007 04:00AM UTC by john comment:1

This is because both of the plugins overwrite the easing object instead of extending it :-( The default easing in jQuery is called 'swing' - which isn't available in either plugin (thus causing the errors). I assume that if the easing can't be found, 'linear' could be used (since that's used everywhere). But that seems lame.

Changed June 21, 2007 03:09AM UTC by john comment:2

resolution: → fixed
status: newclosed

Fixed in SVN rev [2131].