Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Jun 9th, 2013  |  syntax: None  |  size: 0.20 KB  |  views: 79  |  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. {{switch .Paragraph}}
  2.   {{case .IsAttachment}}
  3.     -- some code --
  4.   {{end}}
  5.  
  6.   {{case .IsMenu}}
  7.     -- some menu code --
  8.   {{end}}
  9.  
  10.   {{default}}
  11.     -- some default code --
  12.   {{end}}
  13. {{end}}