Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #7 from juliangruber/patch-1

github serves styles with media="all" now
  • Loading branch information...
commit 7caae618f29e4e05e22b527ea9aa3d861285d54e 2 parents 5c4d865 + d8c93e7
@youurayy authored
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]);
Please sign in to comment.
Something went wrong with that request. Please try again.