Created
March 27, 2016 04:52
-
-
Save colwem/e34e830ebdc57cb3ede5 to your computer and use it in GitHub Desktop.
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
| funcWithCallback(args, createCallback(obj)); | |
| function createCallback(obj) { | |
| return function (err, data) { | |
| //do stuff with data and obj | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment