Closed michaeldewayneharris closed 9 years ago
I did find an environment variable like this: var env = new $.nunjucksRender.nunjucks.Environment(); but i dont believe that there is anyway to get nunjucksrender to use it
Found it. the environment variable is returned by configure so....
var env = $.nunjucksRender.nunjucks.configure(['app']);
You might want to add this to the documentation in case anybody else has this issue.
Sorry for the false bug report.
http://mozilla.github.io/nunjucks/api.html#custom-tags
I cant seem to find the proper Environment variable.