better default multiline-aware templates

This commit is contained in:
Jeremy Ashkenas
2010-10-05 17:10:44 -04:00
parent 5984be70c1
commit 348147d8fb
3 changed files with 12 additions and 2 deletions

View File

@@ -30,5 +30,12 @@
find the intersection of two thousand-element arrays in one second.
</h2>
<br />
<script type="text/html" id="template">
<%
if (data) { data += 12345; }; %>
<li><%= data %></li>
</script>a
</body>
</html>