From 67213f1c0f5cd4c153aa4432dca230727ca0132d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andre=CC=81=20Cruz?= Date: Sat, 26 Jan 2013 19:07:38 +0000 Subject: [PATCH] Fix more typos. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3d32477..0143357 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ promptly.prompt('Name: ', { validator: validator }, function (err, value) { if (err) { console.error('Invalid name'); // Manually call retry - // The passed errors have a retry method to easily prompt again. + // The passed error have a retry method to easily prompt again. err.retry(); } @@ -86,7 +86,7 @@ var validator = function (value) { } promptly.prompt('Name: ', { validator: validator , retry: true}, function (err, value) { - // err is always null because the promptly will keep asking for a name until it validates + // err is always null because promptly will prompting for a name until it validates console.log('Name is: ', value); }); ```