Permalink
Browse files

Better but worse regex

  • Loading branch information...
eirikb committed Aug 9, 2011
1 parent 50f3e28 commit 8386952b0120a77e7150843c3f4c71786dae45f1
Showing with 1 addition and 1 deletion.
  1. +1 −1 nipster.js
View
@@ -109,7 +109,7 @@ function serialize(all, callback) {
forks = a.github ? a.github.forks: '',
watchers = a.github ? a.github.watchers: '';
packages.packages.push([a.name, a.description, forks, watchers]);
- packages.urls.push(a.github.html_url.replace(/.*\//, ''));
+ packages.urls.push(a.github.html_url.replace(/.*\.com\//, ''));
});
Object.keys(all).filter(function(key) {

0 comments on commit 8386952

Please sign in to comment.