Bug Tracker

Ticket #1822 (closed bug: fixed)

Opened 7 years ago

Last modified 7 years ago

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

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

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

Change History

Changed 7 years ago by davidserduke

comment:1 Changed 7 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 7 years ago by davidserduke

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

Changed 7 years ago by davidserduke

comment:3 Changed 7 years ago by brandon

  • Component changed from core to fx

comment:4 Changed 7 years ago by brandon

  • need changed from Review to Commit
  • Owner set to davidserduke

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

type.constructor == Array

comment:5 Changed 7 years ago by davidserduke

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

Fixed in [3835].

Note: See TracTickets for help on using tickets.