Changing the extension from EJS to HTM ?

65 views
Skip to first unread message

John

unread,
Dec 17, 2009, 5:38:22 AM12/17/09
to Embedded JavaScript
Hi there,

I am currently using this in one of my projects (JavascriptMVC i don't
need, i only require the templating part) and it works great.

But is there anyway to change the default extension of EJS to HTM.

I would really appreciate any feedback.

Thank you

Justin Meyer

unread,
Dec 17, 2009, 8:45:47 AM12/17/09
to Embedded JavaScript
Yes, there is an extension or some similar option that you can pass to
setup. Something like

EJS.setup({ext: "htm"})

Reply all
Reply to author
Forward
0 new messages