Bug Tracker

Opened 10 years ago

Closed 10 years ago

#1822 closed bug (fixed)

queue() in 2 cases doesn't default to "fx"

Reported by: davidserduke Owned by: davidserduke
Priority: major Milestone: 1.2.2
Component: effects Version: 1.2.1
Keywords: Cc:
Blocked by: Blocking:

Description

There are two forms of queue mentioned in the documentation below

queue(array)

and

queue()

In both cases it appears they don't default to the "fx" type if nothing is passed in as the documentation suggests they should so you really have to call

queue("fx", array)

and

queue("fx")

to get access to the functionality.

Attachments (2)

jquery_test.html (1.2 KB) - added by davidserduke 10 years ago.
1822.diff (478 bytes) - added by davidserduke 10 years ago.

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by davidserduke

Attachment: jquery_test.html added

comment:1 Changed 10 years ago by davidserduke

Added a test case to show the bug as well as a patch that fixed the test case.

comment:2 Changed 10 years ago by davidserduke

Sorry this should have been in component fx, not core.

Changed 10 years ago by davidserduke

Attachment: 1822.diff added

comment:3 Changed 10 years ago by brandon

Component: corefx

comment:4 Changed 10 years ago by brandon

need: ReviewCommit
Owner: set to davidserduke

Be sure to use the constructor property to type check for Array.

type.constructor == Array

comment:5 Changed 10 years ago by davidserduke

Resolution: fixed
Status: newclosed

Fixed in [3835].

Note: See TracTickets for help on using tickets.