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 c9d043c commit cb35cd5
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 @@ -616,7 +616,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 cb35cd5

Please sign in to comment.