From b13d1fab9d396d39fbb616f5931b7bea8048ea5b Mon Sep 17 00:00:00 2001 From: zeMirco Date: Sun, 1 Jun 2014 09:15:24 +0200 Subject: [PATCH] use strings in comments for find --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index cf0a30e..0777568 100644 --- a/index.js +++ b/index.js @@ -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) { @@ -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){}` */