From e7857d1d5a8671073b803721c97f1d65f51bef10 Mon Sep 17 00:00:00 2001 From: Victor Häggqvist Date: Mon, 30 Jun 2014 20:19:52 +0200 Subject: comment cleanup --- lastcommit.js | 3 --- 1 file changed, 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(); -- cgit v1.2.3