Bug Tracker

Ticket #1212 (closed bug: fixed)

Opened 1 year ago

Last modified 1 year ago

easing breaks animations

Reported by: kswedberg Assigned to: anonymous
Type: bug Priority: major
Milestone: 1.1.3 Component: fx
Version: 1.1.2 Keywords: fx effects easing
Cc: jeresig@gmail.com Needs: Review

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

Change History

Changed 1 year ago by john

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 1 year ago by john

  • status changed from new to closed
  • resolution set to fixed

Fixed in SVN rev [2131].

Note: See TracTickets for help on using tickets.