Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A sprockets extension to support JST template creation of haml.js views

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 VERSION
Octocat-spinner-32 hamljs.gemspec
README.md

HAML.js template compiler for Ruby

Will change haml.js files like:

%h1= title
%p= body

into:

HAML("%h1= title\n    %p= body")

Which can then be used in sprockets

In Rails 3.1 you can create view files in app/assets/javascripts/views with an extension of .jst.hamljs and then watch the magic happen :-)


© 2011 Andrew Timberlake

Released under the MIT license

Something went wrong with that request. Please try again.