Browse files

new gh-issue fixed

  • Loading branch information...
1 parent 811d15f commit ac19564a0fd57464f9428bba55786b4e4b86c7c4 @avyaznikov committed Jan 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 github.js
View
2 github.js
@@ -538,7 +538,7 @@
gh.issue = function (user, repo, number) {
if ( !(this instanceof gh.issue) )
- return new gh.commit(user, repo, number);
+ return new gh.issue(user, repo, number);
this.user = user;
this.repo = repo;
this.number = number;

0 comments on commit ac19564

Please sign in to comment.