Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #73 from doochik/patch-1

css tech (former css-fast) doesn't work
  • Loading branch information...
commit 6cfe55d75cf05927c9caadfe61966bbe39bc9c18 2 parents 3fbbca4 + 27ee9c7
@afelix afelix authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 lib/techs/css.js
View
8 lib/techs/css.js
@@ -89,6 +89,14 @@ exports.Tech = INHERIT(cssbase.Tech, {
})
});
+function isIncludeProcessable(url) {
+ return !isAbsoluteUrl(url);
+}
+
+function isAbsoluteUrl(url) {
+ return /^\w+:/.test(url);
+}
+
function parseUrl(url) {
if (url.lastIndexOf('url(', 0) === 0) url = url.replace(/^url\(\s*/, '').replace(/\s*\)$/, '');
Please sign in to comment.
Something went wrong with that request. Please try again.