Browse files

Merge pull request #7 from juliangruber/patch-1

github serves styles with media="all" now
  • Loading branch information...
2 parents 5c4d865 + d8c93e7 commit 7caae618f29e4e05e22b527ea9aa3d861285d54e @youurayy committed Mar 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 gfms.js
View
2 gfms.js
@@ -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 7caae61

Please sign in to comment.