1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-19 11:18:42 +02:00

Minor fine tuning

This commit is contained in:
Raymond Hill 2023-03-16 14:54:45 -04:00
parent fd9bb02aab
commit a9c7369340
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -110,16 +110,11 @@ async function fetchResource(url) {
let mime = response && response.headers.get('Content-Type') || '';
mime = mime.replace(/\s*;.*$/, '').trim();
const beautifierOptions = {
'end_with_newline': true,
'indent_size': 2,
'html': {
'js': {
'indent_size': 4,
},
},
'js': {
'indent_size': 4,
},
end_with_newline: true,
indent_size: 3,
js: {
max_preserve_newlines: 3,
}
};
switch ( mime ) {
case 'text/css':