Skip to content

Instantly share code, notes, and snippets.

@randallb
Created July 22, 2011 23:23
Show Gist options
  • Save randallb/1100667 to your computer and use it in GitHub Desktop.
Save randallb/1100667 to your computer and use it in GitHub Desktop.
var getUsers;
getUsers = function(peopleArray, callback) {
var person, _i, _len, _results;
_results = [];
for (_i = 0, _len = people.length; _i < _len; _i++) {
person = people[_i];
_results.push(getUser(person, function(err, response) {
users.push(response);
return res.users = users;
}));
}
return _results;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment