Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on Mar 12, 2013
@doochik doochik css tech (former css-fast) doesn't work
because "isIncludeProcessable" is not defined
27ee9c7
@afelix afelix Merge pull request #73 from doochik/patch-1
css tech (former css-fast) doesn't work
6cfe55d
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*\)$/, '');

No commit comments for this range

Something went wrong with that request. Please try again.