aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Häggqvist <[email protected]>2014-06-30 20:19:52 +0200
committerVictor Häggqvist <[email protected]>2014-06-30 20:19:52 +0200
commite7857d1d5a8671073b803721c97f1d65f51bef10 (patch)
tree7cad7fea5b0aa75c56e754d979248e71dc380370
parent34686f88efe19b58a017b40151de921e643b9237 (diff)
comment cleanup
-rw-r--r--lastcommit.js3
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();