RailsCasts Pro episodes are now free!

Learn more or hide this

Jonathan Williams's Profile

GitHub User: bigfive

Comments by Jonathan Williams

Avatar

I just used straight ejs instead of eco.
It means the template looks more like:

//index.jst.ejs

<h2>Entries</h2>
<ul>
  <% for(i=0; i<entries.length; i++){ %>
    <li><%= entries.models[i].get('name'); %></li>
  <% } %>
</ul>

It now works for me. But no nice coffee script templates.

Avatar

p.s. I'm trying this on a windows machine.

It looks to be a known issue: https://github.com/sstephenson/eco/issues/29
I'm looking into alternatives to eco on windows

Avatar

I'm having the same issue.
Did you manage to fix it?