Created
          December 8, 2011 15:26 
        
      - 
      
- 
        Save Gregg/1447292 to your computer and use it in GitHub Desktop. 
    Sending two functions as parameters
  
        
  
    
      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
    
  
  
    
  | SendTwo( | |
| -> | |
| alert 'thing 1' | |
| -> | |
| alert 'thing 2' | |
| ) | 
  
    
      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
    
  
  
    
  | SendTwo(function() { | |
| alert('thing 1'); | |
| }, function() { | |
| alert('thing 2'); | |
| } | |
| ); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment