mkerrin/pwt.jinja2js — pull request #3 by natedub (2012-03-21 19:59:55+00:00)
Title: Jinja2js improvements

I did a bunch of work on pwt.jinja2js in a recent project for work. With these patches, it has been working great in production.

I'm not sure if you planned for this use case, but we have been successfully rendering our Jinja2JS macros on the server using a regular jinja2 environment. If you add the jinja2js namespace node to the regular jinja2 environment, you can safely import the jinja2js macros into a regular template and render them like normal macros. Our closure JS also includes the compiled templates for rendering new content after the initial page draw. It works great :)

The commit messages should all outline the changes in detail, and everything has tests.

Any plans for further jinja2js/closure-related development?