Bug Tracker

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#10754 closed bug (fixed)

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:

Description

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

Change History (4)

comment:2 Changed 6 years ago by mikesherov

1.7.2 please?

comment:3 Changed 6 years ago by timmywil

Component: unfiledcss
Milestone: None1.7.2
Owner: set to mikesherov
Priority: undecidedlow
Status: newassigned

Yes, good call.

comment:4 Changed 6 years ago by Mike Sherov

Resolution: fixed
Status: assignedclosed

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

Changeset: 2c1d2b1a4dc74c6487d9f5dd0ecafd34358163a1

Note: See TracTickets for help on using tickets.