News for hackers. Stuff that matters.
Re:Introducing Sugarless - A Functional & Context Oriented w... by sipefree on Wednesday December 21, 2011 @01:20PM (#3378470)
Looks like you can't pass a function as an argument to any of the functions in a Sugarless chain.

Seems like a pretty glaring oversight to me.

Re:Introducing Sugarless - A Functional & Context Oriented w... by kbego on Wednesday December 21, 2011 @01:43PM (#3378550)
Sugarless is something difference from other libraries, I think we can pass any functions into the Sugarless chain as array.

Seems this example explain how deal with functions as arguments in the Sugarless chain. https://github.com/laktek/SugarlessJS/blob/master/examples/c...