Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Modify buf from inner calls for helpers with html injection #25
Hi! I want to be able to inject html code from html helpers called from main template. For example:
To implement formTag helper I need access to buf variable of template. It can be accessed as arguments.callee.caller.buf, if you will publish buf local variable. Previously I have done this via monkey-patching ejs module, but this solution is no longer acceptable since new npm policy, that forces user to use local copies of npm package.