JoeChapman / jade-browser-middleware

Express middleware precompiles Jade templates for functional execution in the browser
Other
3 stars 1 forks source link

Note that jade-runtime is required on browser-side #3

Open colelawrence opened 10 years ago

colelawrence commented 10 years ago

Currently the readme does not note that the jade runtime.js is required on the client-side for complex iterations that use jade merge, escape, etc. And I wouldn't have known about jade runtime if I hadn't researched jade as much I have up to now.

It works for my application now though~!

JoeChapman commented 10 years ago

Hi. I have been working on a version that writes the runtime script into each template, but got bogged down integrating the middleware with browserify, and more specifically, enchilada. Glad you solved it. I put this together in a bit of a rush

colelawrence commented 10 years ago

I think you can get away with just telling people to include it :-) On Jun 1, 2014 12:43 AM, "Joe Chapman" notifications@github.com wrote:

Hi. I have been working on a version that writes the runtime script into each template, but got bogged down integrating the middleware with browserify, and more specifically, enchilada. Glad you solved it. I put this together in a bit of a rush

— Reply to this email directly or view it on GitHub https://github.com/JoeChapman/jade-browser-middleware/issues/3#issuecomment-44768292 .