3.0.4
What's Changed
-
Reset absolute offsets more aggressively in DjCSS mode
Previous behavior:
background: linear-gradient( foo, bar )
New behavior:
background: linear-gradient( foo, bar )
-
Support SCSS comments
Small life hack: if you leave out the space after //, these types of
comments work in regular CSS too! -
Compromise on JS regular expression literals. The compromise is that they cannot contain spaces. If they can, it becomes impossible to distinguish between
re = / foo( // comment
and
not_re = x / foo( // comment
In other words, it's impossible to distinguish between the division sign and the beginning of a regex literal. It still is, but now it will be less of problem for literals without spaces.
Full Changelog: 3.0.3...3.0.4