#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:1 Changed 12 years ago by
comment:3 Changed 12 years ago by
Component: | unfiled → css |
---|---|
Milestone: | None → 1.7.2 |
Owner: | set to mikesherov |
Priority: | undecided → low |
Status: | new → assigned |
Yes, good call.
comment:4 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fix #10754. Have jQuery.swap() return the value of its callback.
Changeset: 2c1d2b1a4dc74c6487d9f5dd0ecafd34358163a1
Note: See
TracTickets for help on using
tickets.
https://github.com/jquery/jquery/pull/592