Created
June 18, 2012 19:36
-
-
Save jmarnold/2950273 to your computer and use it in GitHub Desktop.
coffee coffee
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Timer | |
| constructor: (interval) -> | |
| @handle = null | |
| @interval = interval | |
| start: () -> | |
| action = @action | |
| @handle = window.setInterval(action, @interval) | |
| stop: -> | |
| window.clearInterval(@handle) | |
| elapsed: (callback) -> | |
| @action = () -> callback() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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