Bug Tracker

Opened 12 years ago

Closed 11 years ago

#2934 closed bug (invalid)

jQuery-1.2.3.js, jQuery-1.2.5.js - function step (animation)

Reported by: Tom Freudenberg Owned by:
Priority: major Milestone: 1.2.5
Component: core Version: 1.2.3
Keywords: animation step Cc:
Blocked by: Blocking:

Description

jQuery will generate a lot of errors in browser console. This is for changing undefined array properties. This was happen after changes from jQuery 1.2.2 to jQuery 1.2.3.

Please find attached diff extract for jQuery-1.2.3 and jQuery-1.2.5
jQuery.1.2.3.js: change line 3242
jQuery.1.2.5.js: change line 3278

<  this.options.curAnim[ this.prop ] = true;
---
>  if (this.options.curAnim)
>     this.options.curAnim[ this.prop ] = true;

Change History (2)

comment:1 Changed 12 years ago by flesler

need: ReviewTest Case

Line 98 of fx.js:

  opt.curAnim = jQuery.extend({}, prop);

This should ensure we have a curAnim object. Could you provide a test case where this error appears ?

comment:2 Changed 11 years ago by flesler

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.