Use our beautify-css-mod.js with more options

This commit is contained in:
tophf 2017-03-29 03:50:48 +03:00
parent a0d50fecf7
commit e384657668
2 changed files with 3 additions and 2 deletions

View File

@ -1019,7 +1019,7 @@ function beautify(event) {
doBeautify(); doBeautify();
} else { } else {
var script = document.head.appendChild(document.createElement("script")); var script = document.head.appendChild(document.createElement("script"));
script.src = "beautify/beautify-css.js"; script.src = "beautify/beautify-css-mod.js";
script.onload = doBeautify; script.onload = doBeautify;
} }
function doBeautify() { function doBeautify() {

View File

@ -553,7 +553,8 @@ prefs = prefs || new function Prefs() {
newline_between_properties: true, newline_between_properties: true,
newline_before_close_brace: true, newline_before_close_brace: true,
newline_between_rules: false, newline_between_rules: false,
end_with_newline: false end_with_newline: false,
space_around_selector_separator: true,
}, },
'editor.lintDelay': 500, // lint gutter marker update delay, ms 'editor.lintDelay': 500, // lint gutter marker update delay, ms
'editor.lintReportDelay': 4500, // lint report update delay, ms 'editor.lintReportDelay': 4500, // lint report update delay, ms