No description or website provided.
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
views
.gems
README.md
config.ru
webapp.rb

README.md

Example App for embedding CoffeeScript in Haml code

Uses Haml::More for embedding CoffeeScript in Haml, see views/coffee_script.haml.

If you have node in your path, it will compile the CoffeeScript code on the server, otherwise it will send the uncompiled code to the client including the CoffeeScript library, so it can be compiled in the browser.

Running locally

gem install haml-more --pre
gem install sinatra
ruby webapp.rb

Running on Heroku

Yes, it works on Heroku (that's the reason for this repository).

gem install heroku
heroku create
git push heroku master
heroku open