Browse files

comment typo

it should be return type. not a param
  • Loading branch information...
1 parent 074a845 commit b8965bbf2766bd31607bb77e890b0bff8eb49f4b @blmarket blmarket committed Jun 30, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/bindings/bindings.js
View
4 lib/bindings/bindings.js
@@ -320,7 +320,7 @@ Repository.prototype.getBlob = function(sha1, callback) {};
* Checks if the Repository contains an object with the specified sha1 hash.
* @param {String} sha1 SHA1 hash id of the object being searched for.
* @param {Function} [callback] If provided, the search will be performed asynchronously, with the result passed back to callback.
- * @param {Boolean} true if object exists, false if not.
+ * @returns {Boolean} true if object exists, false if not.
* @throws If an error occurs.
*/
Repository.prototype.exists = function(sha1, callback) {};
@@ -671,4 +671,4 @@ var Signature = function() {};
* @property {Integer} gitError The error number. The possible errors are detailed in {@link Gitteh.error}.
* @property {String} gitErrorStr A short message explaining the error.
*/
-var GitError = function() {};
+var GitError = function() {};

0 comments on commit b8965bb

Please sign in to comment.