Created
March 25, 2015 14:24
-
-
Save jhnlsn/62e41b0e1006fbd4dcd7 to your computer and use it in GitHub Desktop.
This file contains 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
var done = _.after(3, function(){ | |
console.log('all done'); | |
}) | |
$.get('url', function(){ | |
done(); | |
}); | |
$.get('url', function(){ | |
done(); | |
}); | |
$.get('url', function(){ | |
done(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment