Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed wrong variable name.
  • Loading branch information
micha149 committed Oct 4, 2013
commit 58f05820ae6219a936dc48efab1b76e127ce0901
8 changes: 4 additions & 4 deletions lib/object.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,29 +18,29 @@ git.Object.Type = {
* @return {Boolean}
*/
git.Object.prototype.isCommit = function() {
return this.type() == Object.Type.Commit;
return this.type() == git.Object.Type.Commit;
};

/**
* Is this object a tree?
* @return {Boolean}
*/
git.Object.prototype.isTree = function() {
return this.type() == Object.Type.Tree;
return this.type() == git.Object.Type.Tree;
};

/**
* Is this object a blob?
* @return {Boolean}
*/
git.Object.prototype.isBlob = function() {
return this.type() == Object.Type.Blob;
return this.type() == git.Object.Type.Blob;
};

/**
* Is this object a tag?
* @return {Boolean}
*/
git.Object.prototype.isTag = function() {
return this.type() == Object.Type.Tag;
return this.type() == git.Object.Type.Tag;
};