jupiterjs/javascriptmvc — Issue #20: CJS - A coffeescript version of EJS
Author: justinbmeyer
Created: 2011-10-18 05:15:04+00:00
State: open
Labels: Difficulty - Easy, Priority - Low

I'd like to make EJS more powerful

Functions are likely to become more popular w/i EJS. But they are cumbersome.

I'd like to make a coffeescript version of ejs. It could look like:

<%+ formFor model, (f) -> %>
<%= f.input "name" %>
<%-%>

The problem is indention. I'm thinking tags like `<%+` and `<%-` could be used to control indention.