Skip to content
Myr

Fixed flash example

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

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 90ec103 · Browse files · 2 files+4 added−50 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+4 added−50 removed

  • other:+4 added−50 removed

2 files+4 added−50 removed

deleted:examples/flash/views/messages.ejs-12 removed
1<% if (hasMessages) { %>2 <div id="messages">3 <% for (var type in types) { %>4 <h2><%= type %> messages</h2>5 <ul id="<%= type %>">6 <% types[type].forEach(function(msg){ %>7 <li><%= msg %></li>8 <% }) %>9 </ul>10 <% } %>11 </div>12<% } %>
modified:examples/flash/app.js+4 added-38 removed