Skip to content

Commit

Permalink
new gh-issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
avyaznikov committed Jan 25, 2012
1 parent 811d15f commit ac19564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github.js
Expand Up @@ -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;
Expand Down

0 comments on commit ac19564

Please sign in to comment.