Permalink
Browse files

Remove useless global variables in example code

This came from the translated Perl/Python example code (which
had named parameters).

Thanks to François-G. Ribreau (@FGRibreau) for the heads up!
  • Loading branch information...
1 parent cf33ed6 commit 6d66cf6b0e90deb80f3a87fba56beb8830b7249a @fmarier committed Mar 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
2 README.md
@@ -18,7 +18,7 @@ To generate the correct avatar URL based on someone's email address, use the
following:
var libravatar = require('libravatar');
- libravatar.url(email='person@example.com', openid=null, { size: 96, default: 'mm' }, https=false,
+ libravatar.url('person@example.com', null, { size: 96, default: 'mm' }, false,
function (error, avatar_url) {
console.log('<img src="' + avatar_url + '">');
});

0 comments on commit 6d66cf6

Please sign in to comment.