Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

format futzing

  • Loading branch information...
commit fef463b7dbe878fe9dc777b0fe4f9dc8d38b3887 1 parent 661b6e6
Jeremy Bornstein authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 README.md
8 README.md
View
@@ -41,7 +41,7 @@ Running from your own code
var handled = bastardObj.possiblyHandleRequest (request, response);
-> If the above function returns true, the request has been handled and you don't need to do anything else. Depending on how you want to structure your server, you can check bastard before or after your own URLs.
+If the above function returns true, the request has been handled and you don't need to do anything else. Depending on how you want to structure your server, you can check bastard before or after your own URLs.
To find out the current fingerprint of a file
@@ -49,9 +49,9 @@ To find out the current fingerprint of a file
bastardObj.getFingerprint (filePath, basePath, function (err, fingerprint) {});
- * `filePath`: full path to the file
- * `basePath`: path to the file within the base directory (may be the same as the URL path for the file)
- * `callback`: if present, will be called with the first argument being any error (or null) and the second argument being the fingerprint
+ * `filePath`: full path to the file
+ * `basePath`: path to the file within the base directory (may be the same as the URL path for the file)
+ * `callback`: if present, will be called with the first argument being any error (or null) and the second argument being the fingerprint
If callback is not present and the fingerprint is already known, it will be returned immediately as the result of the function call. If callback is not present and the fingerprint is not already known, the fingerprint will be internally calculated and null will be returned from the function call.
Please sign in to comment.
Something went wrong with that request. Please try again.