#125 discuss
Joe Gornick

Update fuse.Function methods to support a placement when currying arguments to a function.

Reported by Joe Gornick | March 6th, 2011 @ 04:00 PM

Whenever we curry arguments to a method, the default behavior is to only prepend them. It would be nice to support a placement option when curry arguments are used (prepend or append). This behavior is also something that could replace the need for bindAsEventListener because the method forces the event object to always be the first argument. If we simply used bind and flagged the curried arguments to append, the event object argument would always be the first argument.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

JavaScript frameworks share similar features and functionality such as DOM manipulation, event registration, and CSS selector engines. FuseJS attempts to incorporate the strengths of these frameworks into one stable, efficient, and optimized core JavaScript framework.

Tags

Pages