Skip to content

Commit 82648a0

Browse files
committed
Regenerate contributors
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
1 parent 2164cfa commit 82648a0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

js/contributors.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ function filterContributors(arr) {
2222
});
2323
}
2424

25-
function shuffle(array) {
26-
for (let i = array.length - 1; i > 0; i--) {
25+
function shuffle(arr) {
26+
for (let i = arr.length - 1; i > 0; i--) {
2727
let j = Math.floor(Math.random() * (i + 1));
2828

29-
[array[i], array[j]] = [array[j], array[i]];
29+
[arr[i], arr[j]] = [arr[j], arr[i]];
3030
}
3131
}
3232

@@ -46,7 +46,7 @@ function buildRows(rowSet) {
4646
rowsString += '<div class="user-row">';
4747

4848
for (var i = 0; i < r; i++) {
49-
rowsString += userTemplate(contributors.shift());
49+
rowsString += userTemplate(filtered.shift());
5050
}
5151

5252
rowsString += '</div>';

0 commit comments

Comments
 (0)