Bug Tracker

Opened 5 years ago

Closed 4 years ago

Last modified 4 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:


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 5 years ago by mikesherov

1.7.2 please?

comment:3 Changed 5 years ago by timmywil

  • Component changed from unfiled to css
  • Milestone changed from None to 1.7.2
  • Owner set to mikesherov
  • Priority changed from undecided to low
  • Status changed from new to assigned

Yes, good call.

comment:4 Changed 4 years ago by Mike Sherov

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

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

Changeset: 2c1d2b1a4dc74c6487d9f5dd0ecafd34358163a1

Note: See TracTickets for help on using tickets.