Skip to content

Commit

Permalink
use strings in comments for find
Browse files Browse the repository at this point in the history
  • Loading branch information
zemirco committed Jun 1, 2014
1 parent 8a31019 commit b13d1fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ Adapter.prototype.save = function(name, email, pw, done) {


/**
* Find user. Match is either `name`, `email` or `signupToken`.
* Find user. Match is either `'name'`, `'email'` or `'signupToken'`.
*
* @example
adapter.find('name', 'john', function(err, user) {
Expand All @@ -111,7 +111,7 @@ Adapter.prototype.save = function(name, email, pw, done) {
// }
});
*
* @param {String} match - Property to find user by. `name`, `email` or `signupToken`
* @param {String} match - Property to find user by. `'name'`, `'email'` or `'signupToken'`
* @param {String} query - Corresponding value to `match`
* @param {Function} done - Callback function `function(err, user){}`
*/
Expand Down

0 comments on commit b13d1fa

Please sign in to comment.