Closed lexer closed 13 years ago
Im trying to adopt (http://jade-lang.com/) templates.
I have successfully write template function for and it works fine. However jammit corrupt indents that are critical to Jade language that is very similar to Haml.
For example: tr.item tr.item td= item.address
passed as: tr.itemtr.item td= item.address
Jade integration function is posted here: http://zakharov.posterous.com/using-jade-as-jammit-javascript-template
It might be already fixed. See #127.
This should be fixed, as of a3c38d80895cdc13c1d26783bd4c71f15831be1b ... it'll go out in the next release.
Im trying to adopt (http://jade-lang.com/) templates.
I have successfully write template function for and it works fine. However jammit corrupt indents that are critical to Jade language that is very similar to Haml.
For example: tr.item tr.item td= item.address
passed as: tr.itemtr.item td= item.address
Jade integration function is posted here: http://zakharov.posterous.com/using-jade-as-jammit-javascript-template