mirror of
https://github.com/resume/resume.github.com.git
synced 2025-12-21 10:59:57 -06:00
Made link in "Languages" section point to search page of user's repo
using this language (Improved by @Walkman100 and @u2).
This commit is contained in:
committed by
Baptiste Fontaine
parent
0ad014760c
commit
457fb21e8e
@@ -204,9 +204,9 @@ var run = function() {
|
||||
var FIFTH_STEP = 150;
|
||||
var EXTRA_POINT_GAIN = 1;
|
||||
|
||||
var statusScore = data.public_repos * COEF_REPOS
|
||||
+ data.public_gists * COEF_GISTS
|
||||
+ data.followers * COEF_FOLLOWERS
|
||||
var statusScore = data.public_repos * COEF_REPOS
|
||||
+ data.public_gists * COEF_GISTS
|
||||
+ data.followers * COEF_FOLLOWERS
|
||||
+ data.following * COEF_FOLLOWING;
|
||||
|
||||
// Extra points
|
||||
@@ -300,7 +300,9 @@ var run = function() {
|
||||
name: lang,
|
||||
popularity: languages[lang],
|
||||
toString: function() {
|
||||
return '<a href="https://github.com/trending?l=' + this.name + '">' + this.name + '</a>';
|
||||
return '<a href="https://github.com/search?q=user%3A'
|
||||
+ username + '&l=' + this.name + '">'
|
||||
+ this.name + '</a>';
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user