Browse files

css tech (former css-fast) doesn't work

because "isIncludeProcessable" is not defined
  • Loading branch information...
1 parent 3fbbca4 commit 27ee9c7e980c38f11c70593efafd01ea53b19c6a @doochik doochik committed Mar 12, 2013
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*\)$/, '');

0 comments on commit 27ee9c7

Please sign in to comment.