jade support for hem
It is currently usable only with this patch.
Install it with
npm install hem-compiler-jade (and add it to the
package.json if using one).
"hem-compiler-jade/node_modules/jade/lib/runtime" to the
dependencies section of your
"jade": "hem-compiler-jade" to the
compilers section of your
Now all the
.jade files are transparently compiled to js and can be
required like normal modules exposing the only function -- the compiled
template -- which takes context and returns resulting html.
For example, we have
tmpl = require'my-template'html = tmpl/*context aka locals*/