From 457fb21e8e8db098d7aba121a4e93f3152415504 Mon Sep 17 00:00:00 2001 From: Julien Sagot Date: Mon, 20 Jan 2014 20:09:59 +0100 Subject: [PATCH] Made link in "Languages" section point to search page of user's repo using this language (Improved by @Walkman100 and @u2). --- js/githubresume.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/js/githubresume.js b/js/githubresume.js index 2dc92cf..bd0987d 100644 --- a/js/githubresume.js +++ b/js/githubresume.js @@ -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 '' + this.name + ''; + return '' + + this.name + ''; } });