Using JShare with EJS
Closed this issue · 1 comments
minttoothpick commented
I had an issue (posted over here) with getting JShare to integrate with EJS instead of Jade. It turns out that <%- includeJShare() %>
apparently tried to parse using EJS's "include" keyword. My problem was fixed by changing the includeJShare
function name to JShare
within the module.
brooklynDev commented
Thanks for pointing this out. I made the change in the JShare module, so now you can just call JShare() in your views. For backwards compatibility sake I also left includeJShare for those already using it with Jade.