Use our beautify-css-mod.js with more options
This commit is contained in:
parent
a0d50fecf7
commit
e384657668
2
edit.js
2
edit.js
|
@ -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() {
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user