Skip to main content

Bug Tracker

Side navigation

#10754 closed bug (fixed)

Opened November 11, 2011 03:59AM UTC

Closed December 06, 2011 10:21PM UTC

Last modified March 09, 2012 10:09PM UTC

have jQuery.swap return the return of the callback instead of just executing it

Reported by: mikesherov Owned by: mikesherov
Priority: low Milestone: 1.7.2
Component: css Version: 1.7
Keywords: Cc:
Blocked by: Blocking:

In all of it's uses, a return val would be more appropriate than modifying a variable from the outer scope.

Attachments (0)
Change History (4)

Changed November 11, 2011 04:08AM UTC by mikesherov comment:1

Changed November 19, 2011 04:47AM UTC by mikesherov comment:2

1.7.2 please?

Changed November 19, 2011 06:00PM UTC by timmywil comment:3

component: unfiledcss
milestone: None1.7.2
owner: → mikesherov
priority: undecidedlow
status: newassigned

Yes, good call.

Changed December 06, 2011 10:21PM UTC by Mike Sherov comment:4

resolution: → fixed
status: assignedclosed

Fix #10754. Have jQuery.swap() return the value of its callback.

Changeset: 2c1d2b1a4dc74c6487d9f5dd0ecafd34358163a1