"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "python/cssbeautifier/css/beautifier.py" 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.

beautifier.py  (js-beautify-1.13.13):beautifier.py  (js-beautify-1.14.0)
skipping to change at line 459 skipping to change at line 459
self.outdent() self.outdent()
self.print_string(self._ch) self.print_string(self._ch)
elif self._ch == ",": elif self._ch == ",":
self.print_string(self._ch) self.print_string(self._ch)
self.eatWhitespace(True) self.eatWhitespace(True)
if ( if (
self._options.selector_separator_newline self._options.selector_separator_newline
and not insidePropertyValue and not insidePropertyValue
and parenLevel == 0 and parenLevel == 0
and not insideAtImport and not insideAtImport
and not insideAtExtend
): ):
self._output.add_new_line() self._output.add_new_line()
else: else:
self._output.space_before_token = True self._output.space_before_token = True
elif ( elif (
(self._ch == ">" or self._ch == "+" or self._ch == "~") (self._ch == ">" or self._ch == "+" or self._ch == "~")
and not insidePropertyValue and not insidePropertyValue
and parenLevel == 0 and parenLevel == 0
): ):
# handle combinator spacing # handle combinator spacing
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

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