mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 17:35:16 +00:00
10 lines
177 B
JavaScript
10 lines
177 B
JavaScript
|
function tidyAtRule(value) {
|
||
|
return value
|
||
|
.replace(/\s+/g, ' ')
|
||
|
.replace(/url\(\s+/g, 'url(')
|
||
|
.replace(/\s+\)/g, ')')
|
||
|
.trim();
|
||
|
}
|
||
|
|
||
|
module.exports = tidyAtRule;
|