bump github; fix user agents; tweak egg

This commit is contained in:
Douglas Gardner 2013-04-26 15:08:07 +00:00
parent 861f1e213f
commit 738fa2f7b0
3 changed files with 6 additions and 4 deletions

@ -1 +1 @@
Subproject commit 7e38c6be750a071724763872175f1a9445297b76 Subproject commit 6e841d96df413a8039b15a53ef0c6b77630b552a

View File

@ -30,7 +30,7 @@ var pages = function(dbot) {
/* TODO: merge back into github module */ /* TODO: merge back into github module */
var milestones; var milestones;
request("https://api.github.com/repos/" + dbot.config.github.defaultrepo + "/milestones?state=open", function(error, response, body){ request({"url":"https://api.github.com/repos/" + dbot.config.github.defaultrepo + "/milestones?state=open","headers":{"User-Agent":"reality/depressionbot (project module)"}}, function(error, response, body){
milestones = JSON.parse(body); milestones = JSON.parse(body);
}); });

View File

@ -1,15 +1,17 @@
WebFontConfig={google:{families:["Ubuntu+Mono::latin","Ubuntu::latin"]}};(function(){var e=document.createElement("script");e.src=("https:"==document.location.protocol?"https":"http")+"://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js";e.type="text/javascript";e.async="true";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)})()
$(document).ready(function() { $(document).ready(function() {
$.get("https://api.github.com/repos/#{repo}/pulls", function(data) { $.get("https://api.github.com/repos/#{repo}/pulls", function(data) {
if ($.parseJSON(data).length) { $("#pullreq").show();} if ($.parseJSON(data).length) { $("#pullreq").show();}
}); });
}); });
$(document).keypress(function(e) { $(document).keypress(function(e) {
WebFontConfig={google:{families:["Ubuntu::latin"]}};(function(){var e=document.createElement("script");e.src=("https:"==document.location.protocol?"https":"http")+"://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js";e.type="text/javascript";e.async="true";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)})()
$('body').css({ $('body').css({
"background-image":"url('http://i.imgur.com/Yh8V2Oa.jpg')", "background-image":"url('http://i.imgur.com/Yh8V2Oa.jpg')",
"font-family": "Ubuntu, \"Source Sans Pro\",sans-serif" "font-family": "Ubuntu, \"Source Sans Pro\",sans-serif"
}); });
$('pre').css("font-family","Ubuntu Mono");
$('a').css("color","#DD4814"); $('a').css("color","#DD4814");
$('#title').css("color","white"); $('#title').css("color","white");
$('#main').css("border-color","#420432"); $('.progress-inner').css("background-image","linear-gradient(to top, rgb(211, 72, 20), rgb(255, 180, 127))");
// $('#main').css("color","#420432");
}); });