forked from mirrored/github-readme-stats
Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
450d095fe4 |
@@ -205,7 +205,7 @@ const calculateNormalLayoutHeight = (totalLangs) => {
|
|||||||
const useLanguages = (topLangs, hide, langs_count) => {
|
const useLanguages = (topLangs, hide, langs_count) => {
|
||||||
let langs = Object.values(topLangs);
|
let langs = Object.values(topLangs);
|
||||||
let langsToHide = {};
|
let langsToHide = {};
|
||||||
let langsCount = clampValue(parseInt(langs_count), 1, 10);
|
let langsCount = clampValue(parseInt(langs_count), 1, 100);
|
||||||
|
|
||||||
// populate langsToHide map for quick lookup
|
// populate langsToHide map for quick lookup
|
||||||
// while filtering out
|
// while filtering out
|
||||||
|
|||||||
Reference in New Issue
Block a user