Guest User

Untitled

a guest
Jun 19th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. _buf = [] ; _buf << ("<!DOCTYPE html><body><head><title>Simple Benchmark</title></head><body><h1>"\
  2. ""\
  3. ""\
  4. ""\
  5. ""\
  6. ""\
  7. "#{header}"\
  8. "</h1>") ; unless item.empty? ;
  9. ; _buf << ("<ul>") ;
  10. ; for i in item ;
  11. ; if i[:current] ;
  12. ; _buf << ("<li><strong>"\
  13. "#{i[:name]}"\
  14. "</strong></li>") ; else ;
  15. ; _buf << ("<li><a href=\""\
  16. "#{Slim::Helpers.escape_html((i[:url]))}\">#{i[:name]}"\
  17. "</a></li>") ; end ; end ; _buf << ("</ul>") ; else ;
  18. ; _buf << ("<p>The list is empty.</p>") ;
  19. ; end ; _buf << ("</body></body>") ; _buf = _buf.join
Add Comment
Please, Sign In to add comment