public
/
clean-css.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abd176b
)
fixed import of remote font file starting with //
author
Pete Nelson
<pete.nelson@mac.com>
Wed, 5 Jun 2013 13:00:42 +0000
(15:00 +0200)
committer
Pete Nelson
<pete.nelson@mac.com>
Wed, 5 Jun 2013 13:00:42 +0000
(15:00 +0200)
lib/clean.js
patch
|
blob
|
history
diff --git
a/lib/clean.js
b/lib/clean.js
index
68e49ce
..
bface73
100644
(file)
--- a/
lib/clean.js
+++ b/
lib/clean.js
@@
-371,7
+371,7
@@
var CleanCSS = {
.replace(/\)$/, '')
.replace(/['"]/g, '');
- if (/^(http|https):\/\//.test(importedFile))
+ if (/^(http|https):\/\//.test(importedFile)
|| /^\/\//.test(importedFile)
)
return '@import url(' + importedFile + ');';
var relativeTo = importedFile[0] == '/' ?