Permalink
Browse files

github serves styles with media="all" now

  • Loading branch information...
1 parent 5c4d865 commit d8c93e707ea7ef18dd7e3ee03bde9e65f9bf73a2 @juliangruber juliangruber committed Mar 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 gfms.js
View
@@ -187,7 +187,7 @@ request('http://www.github.com', function(err, res, body) {
if(err || res.statusCode != 200)
throw 'Cannot load .css links from Github';
- var m, re = /<link href="(.+?)" media="screen" rel="stylesheet" type="text\/css" \/>/g;
+ var m, re = /<link href="(.+?)" media="all" rel="stylesheet" type="text\/css" \/>/g;
while(m = re.exec(body))
styles.push(m[1]);

0 comments on commit d8c93e7

Please sign in to comment.