hartzler / crow

chat client
2 stars 0 forks source link

eval: haml-js or other js templates #38

Open sbeckeriv opened 12 years ago

sbeckeriv commented 12 years ago

There was talk of converting the haml templates to javascript. I created a branch to try this. I found this project/pull request

https://github.com/creationix/haml-js/pull/39

I have it working for basic templates. We would also need to support a SASS js project. Just searched quick and found this: https://github.com/bmavity/scss-js

Almost surely built for node.js which is a dang problem.

Longer story short: We think we should use some kinda js templates to make some of our code easier. Right now I dont think haml-js is ready. I am finding it very hard to debug after converting the template to json.

I have used EJS and that was not much easier.

Adam dropped Jade (haml like templates) but that seems to be node.js still