mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 22:39:26 +01:00
Merge pull request #425 from zuzak/easter
bump github; fix user agents; tweak egg
This commit is contained in:
commit
0c9936dce2
@ -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);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -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");
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user