creationix / haml-js

Haml ported to server-side Javascript. This is a traditional server-side templating language. Tested with node-js
MIT License
902 stars 110 forks source link

:each filter not working #92

Closed dstauffer closed 9 years ago

dstauffer commented 9 years ago

When I try to use the each filter, to loop through local data like this %ul.todolist     :each item in todolist         %li= item.description

I get the following error: 'Uncaught Filter 'each' not registered. Filter functions need to be added to 'haml.filters...''