Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jan 13th, 2013  |  syntax: None  |  size: 0.36 KB  |  hits: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <span id="user-name">User name goes here</span>
  2.        
  3. "#user-name *" #> user.name
  4.        
  5. <table id="table"><tr><td class="name"></td><td class="value"></td></tr></table>
  6.        
  7. val tuples = List(("Lift", "Is great"), ("Other web frameworks", "Eh"))
  8. "#table" #> {
  9.   "tr" #> {
  10.      tuples map { case(name, value) =>
  11.        ".name" #> name &
  12.        ".value" #> value
  13.      }
  14.   }
  15. }