diff options
Diffstat (limited to '')
-rw-r--r-- | lastcommit.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lastcommit.js b/lastcommit.js index 8c66647..82b593a 100644 --- a/lastcommit.js +++ b/lastcommit.js @@ -51,7 +51,6 @@ return Date.parse(b.pushed_at) - Date.parse(a.pushed_at); }); - // console.log("Success: " + respData[0].pushed_at); getCommitFromRepo(user, respData[0], callback); }; r.send(); @@ -65,7 +64,6 @@ * @param function callback Function to called on successfull retrival of commit */ function getCommitFromRepo(user, repo, callback) { - // console.log(repo); var r = new XMLHttpRequest(); r.open('GET', 'https://api.github.com/repos/' + user + '/' + repo.name + '/commits', true); @@ -79,7 +77,6 @@ if (a.committer.login === user) return true; }); - // console.log("Success: " + userCommits[0].commit.message); callback(repo, userCommits[0]); }; r.send(); |