Skip to content

Commit 58f0582

Browse files
committed
Fixed wrong variable name.
1 parent d706049 commit 58f0582

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/object.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,29 @@ git.Object.Type = {
1818
* @return {Boolean}
1919
*/
2020
git.Object.prototype.isCommit = function() {
21-
return this.type() == Object.Type.Commit;
21+
return this.type() == git.Object.Type.Commit;
2222
};
2323

2424
/**
2525
* Is this object a tree?
2626
* @return {Boolean}
2727
*/
2828
git.Object.prototype.isTree = function() {
29-
return this.type() == Object.Type.Tree;
29+
return this.type() == git.Object.Type.Tree;
3030
};
3131

3232
/**
3333
* Is this object a blob?
3434
* @return {Boolean}
3535
*/
3636
git.Object.prototype.isBlob = function() {
37-
return this.type() == Object.Type.Blob;
37+
return this.type() == git.Object.Type.Blob;
3838
};
3939

4040
/**
4141
* Is this object a tag?
4242
* @return {Boolean}
4343
*/
4444
git.Object.prototype.isTag = function() {
45-
return this.type() == Object.Type.Tag;
45+
return this.type() == git.Object.Type.Tag;
4646
};

0 commit comments

Comments
 (0)