some people have more or less taken over projects with their forks, so
it probably makes sense to still list them among the repositories
... | ... |
@@ -18,8 +18,9 @@ github = (function(){ |
18 | 18 |
var repos = []; |
19 | 19 |
var i; |
20 | 20 |
for (i = 0; i < data.repositories.length; i++){ |
21 |
- if (!data.repositories[i].fork) |
|
22 |
- repos.push(data.repositories[i]); |
|
21 |
+ if (options.skip_forks && !data.repositories[i].fork) |
|
22 |
+ continue; |
|
23 |
+ repos.push(data.repositories[i]); |
|
23 | 24 |
} |
24 | 25 |
repos.sort(function(a, b){ |
25 | 26 |
var a = new Date(a.pushed_at), |