Skip to content

Commit

Permalink
packagist: mention example user/repo
Browse files Browse the repository at this point in the history
  • Loading branch information
espadrine committed Dec 15, 2014
1 parent 7128577 commit 6d008dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ cache(function(data, match, sendBadge, request) {
// Packagist version integration.
camp.route(/^\/packagist\/v\/(.*)\.(svg|png|gif|jpg|json)$/,
cache(function(data, match, sendBadge, request) {
var userRepo = match[1];
var userRepo = match[1]; // eg, `doctrine/orm`.
var format = match[2];
var apiUrl = 'https://packagist.org/packages/' + userRepo + '.json';
var badgeData = getBadgeData('packagist', data);
Expand Down

0 comments on commit 6d008dd

Please sign in to comment.