Skip to content

Commit 65bcfeb

Browse files
committed
Adjust coderstats.net URL
Update version Add Makefile with build task
1 parent c26605d commit 65bcfeb

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
build:
2+
cd coderstats && ../jpm xpi && mv coderstats.xpi /tmp/

coderstats/data/coderstats.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ let path = document.location.pathname,
66
if (m = path.match(/^\/([\w-]+)\??.*?/)) {
77
login = m[1].trim();
88
if (-1 === ['timeline', 'languages', 'blog', 'explore'].indexOf(login)) {
9-
url = 'http://coderstats.net/github/' + login + '/';
9+
url = 'http://coderstats.net/github#' + login;
1010
details = document.getElementsByClassName('vcard-details');
1111
if (details.length > 0) {
1212
addLink();

coderstats/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"description": "Display a link to the CoderStats page for the currently displayed GitHub user when browsing github.com.",
66
"author": "CoderStats",
77
"license": "MIT",
8-
"version": "1.2.0",
8+
"version": "1.2.1",
99
"homepage": "http://coderstats.net/",
1010
"icon64": "static/logo-64x64.png"
1111
}

0 commit comments

Comments
 (0)