Skip to content

Commit

Permalink
Merge pull request h5bp#681 from philipvonbargen/master
Browse files Browse the repository at this point in the history
@import url() starting with // did break build process
  • Loading branch information
paulirish committed Aug 12, 2011
2 parents 21933ec + 98e4ca1 commit 0062417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -849,7 +849,7 @@

<!-- replace imports with h5bp-import tags (part 1) this one wraps @media types -->
<replaceregexp file="${dir.intermediate}/${dir.css}/${file.root.stylesheet}"
match="^@import\s+(?:url\s*\(\s*['&quot;]?|['&quot;])((?!http:|https:|ftp:)[^&quot;^'^\s]+)(?:['&quot;]?\s*\)|['&quot;])\s*([\w\s,\-]*);.*$"
match="^@import\s+(?:url\s*\(\s*['&quot;]?|['&quot;])((?!http:|https:|ftp:|\/\/)[^&quot;^'^\s]+)(?:['&quot;]?\s*\)|['&quot;])\s*([\w\s,\-]*);.*$"
replace="@media \2{ /* h5bp-import: \1 */ }" byline="true" />

<!-- replace imports with h5bp-import tags (part 2) -->
Expand Down

0 comments on commit 0062417

Please sign in to comment.