I've been playing with this and this works:
```
function loadContributors(page, contributors) {
        return $.getJSON(StringUtils.format(brackets.config.contributors_url, PER_PAGE, page)).then(function (data) {
            contributors = contributors.concat(data);
            console.log(contributors);
            if (page && data.length === 100) {
                return loadContributors(page + 1, contributors);
            }
            return contributors;
        });
    }
```
And then use this function to replace the `if (allContributors.length) {` with `loadContributors(page, []).done(function (allContributors) { ... }).fail({ ... });`