vol4ok / hogan-express

Mustache template engine for express 3.x. Support partials and layout
MIT License
138 stars 31 forks source link

READY: fix bug: allow for multiple lambdas ("do" is magic) #18

Closed EddieCanales closed 10 years ago

EddieCanales commented 10 years ago

Apparently my coffeescript skills were not as good as I thought. The scoping was working such that the last lambda defined would be the function that ran for any lambda reference in your template. I fixed this and added some test to check that using multiple lambdas actually works.

vol4ok commented 10 years ago

Done