creationix / haml-js

Haml ported to server-side Javascript. This is a traditional server-side templating language. Tested with node-js
MIT License
901 stars 110 forks source link

capture haml feature needed #57

Open costa opened 12 years ago

costa commented 12 years ago

I've tried (and failed) to do this with

    - var some_haml = Haml(" \
      .some-haml \
         ... \
      ");
aaronblohowiak commented 12 years ago

what exactly are you trying to do here?

costa commented 12 years ago

I'm sorry it took so long. I was talking about capturing haml-js output the way http://haml-lang.com/docs/yardoc/Haml/Helpers.html#capture_haml-instance_method does it.