Created
          October 2, 2012 17:24 
        
      - 
      
- 
        Save melvynhills/3821382 to your computer and use it in GitHub Desktop. 
    CoffeeScript timeout/interval utils
  
        
  
    
      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
    
  
  
    
  | # A more caffeinated way to call setTimeout and setInterval. By @kneath | |
| window.after = (ms, cb) -> setTimeout cb, ms | |
| window.every = (ms, cb) -> setInterval cb, ms | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment