source:
frontend/node_modules/clean-css/lib/optimizer/level-1/tidy-at-rule.js
| Last change on this file was 9af201e, checked in by , 2 weeks ago | |
|---|---|
|
|
| File size: 177 bytes | |
| Line | |
|---|---|
| 1 | function tidyAtRule(value) { |
| 2 | return value |
| 3 | .replace(/\s+/g, ' ') |
| 4 | .replace(/url\(\s+/g, 'url(') |
| 5 | .replace(/\s+\)/g, ')') |
| 6 | .trim(); |
| 7 | } |
| 8 | |
| 9 | module.exports = tidyAtRule; |
Note:
See TracBrowser
for help on using the repository browser.
