Bug Tracker

Modify

Ticket #9125 (closed feature: wontfix)

Opened 2 years ago

Last modified 2 years ago

Parse arguments to callbacks

Reported by: funcoder@… Owned by:
Priority: low Milestone: 1.7
Component: effects Version: 1.5
Keywords: needsreview,1.7-discuss Cc:
Blocking: Blocked by:

Description (last modified by scott.gonzalez) (diff)

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

comment:1 Changed 2 years ago by timmywil

  • Keywords needsreview added
  • Priority changed from undecided to low
  • Status changed from new to open
  • Component changed from unfiled to effects

comment:2 Changed 2 years ago by john

  • Keywords needsreview,1.7-discuss added; needsreview removed

Nominating ticket for 1.7 discussion.

comment:3 Changed 2 years ago by rwaldron

  • Description modified (diff)

+0, Use. jQuery.proxy

comment:4 Changed 2 years ago by jaubourg

-1, JS has closures, jQuery has proxy.

comment:5 Changed 2 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 2 years ago by dmethvin

  • Description modified (diff)

-1, Closure or proxy.

comment:7 Changed 2 years ago by john

  • Description modified (diff)

-1

comment:8 Changed 2 years ago by ajpiano

  • Description modified (diff)

-1 PROXY

comment:9 Changed 2 years ago by scott.gonzalez

  • Description modified (diff)

-1, closures, proxies

comment:10 Changed 2 years ago by rwaldron

  • Status changed from open to closed
  • Resolution set to wontfix
  • Milestone changed from 1.next to 1.7

Closing per 1.7 roadmap meeting resolution

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.