Bug Tracker

Modify

Ticket #1212 (closed bug: fixed)

Opened 6 years ago

Last modified 6 years ago

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@…
Blocking: Blocked by:

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

Change History

comment:1 Changed 6 years 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.

comment:2 Changed 6 years ago by john

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in SVN rev [2131].

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.