Skip to content

Commit

Permalink
Merge pull request #87 from fabiomcosta/patch-1
Browse files Browse the repository at this point in the history
This space is not always present.
  • Loading branch information
mathiasbynens committed Dec 10, 2011
2 parents 0067db6 + cdda918 commit 52e8efd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion respond.src.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
}
//parse for styles
else{
fullq = qs[ i ].match( /@media ([^\{]+)\{([\S\s]+?)$/ ) && RegExp.$1;
fullq = qs[ i ].match( /@media *([^\{]+)\{([\S\s]+?)$/ ) && RegExp.$1;
rules.push( RegExp.$2 && repUrls( RegExp.$2 ) );
}

Expand Down

0 comments on commit 52e8efd

Please sign in to comment.