Bug Tracker

Opened 10 years ago

Closed 10 years ago

#9125 closed feature (wontfix)

Parse arguments to callbacks

Reported by: [email protected] Owned by:
Priority: low Milestone: 1.7
Component: effects Version: 1.5
Keywords: needsreview, 1.7-discuss Cc:
Blocked by: Blocking:

Description (last modified by scottgonzalez)

Callback functions e.g. for "fadeIn" often point at functions in objects. The problem is that "this" in that functions refere to the object which is manipulated in this case a html dom object.

This is why we need parameter support for these callbacks so we can pass for example the original object or an id or whatever we want.

Change History (10)

comment:1 Changed 10 years ago by timmywil

Component: unfiledeffects
Keywords: needsreview added
Priority: undecidedlow
Status: newopen

comment:2 Changed 10 years ago by john

Keywords: 1.7-discuss added

Nominating ticket for 1.7 discussion.

comment:3 Changed 10 years ago by Rick Waldron

Description: modified (diff)

+0, Use. jQuery.proxy

comment:4 Changed 10 years ago by jaubourg

-1, JS has closures, jQuery has proxy.

comment:5 Changed 10 years ago by timmywil

-1, That doesn't seem like what I was thinking of when I first tagged that for review. Yes, proxy.

comment:6 Changed 10 years ago by dmethvin

Description: modified (diff)

-1, Closure or proxy.

comment:7 Changed 10 years ago by john

Description: modified (diff)

-1

comment:8 Changed 10 years ago by ajpiano

Description: modified (diff)

-1 PROXY

comment:9 Changed 10 years ago by scottgonzalez

Description: modified (diff)

-1, closures, proxies

comment:10 Changed 10 years ago by Rick Waldron

Milestone: 1.next1.7
Resolution: wontfix
Status: openclosed

Closing per 1.7 roadmap meeting resolution

Note: See TracTickets for help on using tickets.