visionmedia/ejs — pull request #66 by seanmonstar (2012-08-24 23:16:39+00:00)
Title: allow pre-compiling into a standalone function

This lets you compile EJS templates in node, and save the generated
function into client side JavaScript file, and not depend on a client-side EJS
library.

Example usage:

```js
var templatesContents = 'Templates.user = ' + ejs.compile('user.ejs', {
client: true,
compileDebug: false // not needed, but desireable for production
}).toString();
```