canjs / can-stache

Live binding handlebars templates
https://canjs.com/doc/can-stache.html
MIT License
10 stars 13 forks source link

Handle nested call functions #683

Closed Mattchewone closed 5 years ago

Mattchewone commented 5 years ago

Allows use of returning functions from functions

Resolves - https://github.com/canjs/can-stache/issues/587

justinbmeyer commented 5 years ago

Looks good. The only thing we might want to add now is an actual test. Make a stache template like:

stache("{{ foo(1)(2) }}")

and make sure it works

... puttin it all together!