mirror of
https://github.com/resume/resume.github.com.git
synced 2026-01-06 03:30:01 -06:00
Merge pull request #145 from chocolateboy/stop_iteration_if_starred
stop iterating starred repos if a match is found
This commit is contained in:
@@ -98,7 +98,8 @@ var github_user_starred_resume = function(username) {
|
||||
$.each(repos, function(i, repo) {
|
||||
if (repo.full_name == "resume/resume.github.com") {
|
||||
starred = true;
|
||||
}
|
||||
return false; // stop iterating
|
||||
}
|
||||
});
|
||||
return starred;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user