dnagir/ruby-haml-js — pull request #16 by ttp (2013-09-13 09:24:19+00:00)
Title: Rails 4 compatibility

I'm not sure why but Sprockets.register_engine does not work in rails 4.

Using app.assets.register_engine to add hamljs engine, handlebars uses the same way, see https://github.com/leshill/handlebars_assets/blob/master/lib/handlebars_assets/engine.rb