Skip to content

Instantly share code, notes, and snippets.

@yamagata-kozo
Created December 18, 2012 03:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yamagata-kozo/4324776 to your computer and use it in GitHub Desktop.
Save yamagata-kozo/4324776 to your computer and use it in GitHub Desktop.
h1 Fruits (jade)
table
thead
tr
th Name
th Price
th Stock
tbody
- for (var i = 0; i < fruits.length; i++) {
tr
td= fruits[i].name
td= '&yen;' + fruits[i].price
td= fruits[i].stock
- }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment