fix typos
authorRyan Dahl <ry@tinyclouds.org>
Thu, 29 Apr 2010 17:11:06 +0000 (10:11 -0700)
committerRyan Dahl <ry@tinyclouds.org>
Thu, 29 Apr 2010 17:11:06 +0000 (10:11 -0700)
doc/api.markdown

index 6042805..6a99a17 100644 (file)
@@ -2380,7 +2380,7 @@ is no '.' then it returns an empty string.  Examples:
 Test whether or not the given path exists.  Then, call the `callback` argument with either true or false.  Example:
 
     path.exists('/etc/passwd', function (exists) {
-      sys.debug(exists ? 'it's there' : 'no passwd!');
+      sys.debug(exists ? "it's there" : "no passwd!");
     });