"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "js/lib/beautify-css.js" between
js-beautify-1.13.13.tar.gz and js-beautify-1.14.0.tar.gz

About: JS Beautifier is a JavaScript (and bookmarket) beautifier.

beautify-css.js  (js-beautify-1.13.13):beautify-css.js  (js-beautify-1.14.0)
skipping to change at line 1436 skipping to change at line 1436
} }
} else if (this._ch === ')') { } else if (this._ch === ')') {
if (parenLevel) { if (parenLevel) {
parenLevel--; parenLevel--;
this.outdent(); this.outdent();
} }
this.print_string(this._ch); this.print_string(this._ch);
} else if (this._ch === ',') { } else if (this._ch === ',') {
this.print_string(this._ch); this.print_string(this._ch);
this.eatWhitespace(true); this.eatWhitespace(true);
if (this._options.selector_separator_newline && !insidePropertyValue && pa renLevel === 0 && !insideAtImport) { if (this._options.selector_separator_newline && !insidePropertyValue && pa renLevel === 0 && !insideAtImport && !insideAtExtend) {
this._output.add_new_line(); this._output.add_new_line();
} else { } else {
this._output.space_before_token = true; this._output.space_before_token = true;
} }
} else if ((this._ch === '>' || this._ch === '+' || this._ch === '~') && !in sidePropertyValue && parenLevel === 0) { } else if ((this._ch === '>' || this._ch === '+' || this._ch === '~') && !in sidePropertyValue && parenLevel === 0) {
//handle combinator spacing //handle combinator spacing
if (this._options.space_around_combinator) { if (this._options.space_around_combinator) {
this._output.space_before_token = true; this._output.space_before_token = true;
this.print_string(this._ch); this.print_string(this._ch);
this._output.space_before_token = true; this._output.space_before_token = true;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)