Skip to content

Instantly share code, notes, and snippets.

@jmarnold
Created June 18, 2012 19:36
Show Gist options
  • Select an option

  • Save jmarnold/2950273 to your computer and use it in GitHub Desktop.

Select an option

Save jmarnold/2950273 to your computer and use it in GitHub Desktop.
coffee coffee
class Timer
constructor: (interval) ->
@handle = null
@interval = interval
start: () ->
action = @action
@handle = window.setInterval(action, @interval)
stop: ->
window.clearInterval(@handle)
elapsed: (callback) ->
@action = () -> callback()
@mrsimon007
Copy link
Copy Markdown

The popularity of 7 brew pumpkin drinks comes from their unique seasonal flavor and comforting feel. Many people enjoy these drinks during fall because they offer a mix of sweetness and spice that stands out from regular beverages. Their limited-time availability also makes them more exciting to try each year. To check more drink options and menu details, you can visit: 7-brewmenuprices. Visit now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment