fitzgen/github-api — pull request #14 by JangoSteve (2012-01-02 22:42:22+00:00)
Title: Added user.allOrgRepos method to get list of all user's organization repos

Added function to get all repos a user has access to from the user's organizations.

See the "Listing Organization Memberships" section in the [Github v2 Orgs docs](http://develop.github.com/p/orgs.html).

Example usage:

```js
gh.authenticate("fitzgen", );
user = gh.user("fitzen");

user.allOrgRepos(function (data) {
alert(data.repositories.length);
});
```