Closed avdieiev closed 5 years ago
Hi, @avdieiev ! Thanks for this.
Would you can refresh this PR?
Hi, guys! Please tell me why this code never got into the master branch? I use the latest version (4.3.0) in my project and have problems with using CSS custom properties and I don't find the fixes from this PR in in my node_modules/csscomb/lib/options/sort-order.js. Here is the error stack trace:
var property = node.first('property').first();
^
TypeError: Cannot read properties of null (reading 'first')
According to #537. This PR also includes https://github.com/csscomb/csscomb.js/pull/566 Fixed - "TypeError: Cannot read property 'first' of null in _getSortablePropertyName"
Now CSS custom properties are parsed correctly