Advertisement
Guest User

Untitled

a guest
Aug 5th, 2017
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
IO 0.23 KB | None | 0 0
  1. Counter := Object clone do(
  2.   renderOn := method(html,
  3.     html heading("Hello World: " .. count)
  4.     html paragraph("Some text!")
  5.     html link("--", count = count - 1)
  6.     html space
  7.     html link("++", count = count + 1)
  8.   )
  9. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement