mikeric / rivets

Lightweight and powerful data binding.
http://rivetsjs.com
MIT License
3.23k stars 310 forks source link

executeFunctions disallowing call #696

Closed anshul-kai closed 7 years ago

anshul-kai commented 7 years ago

My app is set to use executeFunctions as we have 100s of functions written out using the old syntax. I'd love to use call so that parameters can be passed into functions but seems like executeFunctions disables the ability to use call.

I realize that this may be a bit of a corner case. Just wondering if there are any suggestions around this issue besides re-writing all the functions with a call.

Thank you!

Namek commented 7 years ago

Probably issue is too old and you choosed one of two paths.

Personally, I don't think this corner case would be worth implementing. It feels smelly. To me it doesn't sound to be that big change since it's easy to just add | call everywhere.

benadamstyles commented 7 years ago

Yeah I'm afraid | call was our solution – it's one or the other. Closing.