Bug Tracker

Ticket #10754 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

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

Description

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

Change History

comment:2 Changed 3 years ago by mikesherov

1.7.2 please?

comment:3 Changed 3 years ago by timmywil

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

Yes, good call.

comment:4 Changed 3 years ago by Mike Sherov

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

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

Changeset: 2c1d2b1a4dc74c6487d9f5dd0ecafd34358163a1

Note: See TracTickets for help on using tickets.