Skip to content
Myr

Added better ejs usage example

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by visionmedia · committed by visionmedia · parent 3414918 · Browse files · 2 files+9 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+9 added−2 removed

  • other:+9 added−2 removed

2 files+9 added−2 removed

modified:examples/hello-world/views/front.html.ejs+7 added-1 removed
1<h1><%= title %></h1>2<p>test</p>2<% if (items && items.length) { %>3 <ul>4 <% for (var i = 0; i < items.length; ++i) { %>5 <li><%= items[i] %></li>6 <% } %>7 </ul>8<% } %>
modified:examples/hello-world/app.js+2 added-1 removed