Calling renderJs() and renderStyles() in different template engines #14

victornswd opened this Issue Feb 28, 2012 · 2 comments


None yet

2 participants


Hi! I was wondering if you could help me out with this:
I'm not using Jade in my projects (I'm using basic HTML combined with mustache) and I'm having problems calling renderJs() and renderStyles. I managed to trace the functions back to app._locals.renderStyles() and app._locals.renderJs() but I have no idea how to call them in my templates.

If you have any suggestions, I would love to hear them out!



Never mind, I found the solution to this problem, i just had to drop the parens (eg: renderJs() -> renderJs) when calling the functions unescaped.

@victornswd victornswd closed this Feb 29, 2012

Ah, cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment