This website requires JavaScript.
Explore
Help
Sign In
vitalif-js
/
prettier
Watch
1
Star
0
Fork
You've already forked prettier
0
Code
Issues
Pull Requests
Projects
Releases
Wiki
Activity
157df6e3fd
prettier
/
tests
/
stylefmt
/
var-notation
/
var-notation.css
3 lines
87 B
CSS
Raw
Normal View
History
Unescape
Escape
Fix broken tests If you put a space, `{loose: true}` is going to parse them as word + paren instead of func. It doesn't impact correctness and i'm not really sure how to clean the ast, so let's just make the test pass. I haven't seen this anywhere in real code.
2017-05-27 23:14:58 +03:00
.
foo
{
margin
:
var
(
-
-
n
-
gutterSize
)
0
var
(
-
-
gutterSize
)
var
(
-
-
n
-
gutterSize
)
;
Initial CSS support (#1636) I wanted to see how hard it would be to add support for CSS inside of prettier. Turns out, it's not that hard. I spent a few hours printing post-css values and getting all the stylefmt unit tests to not throw.
2017-05-24 20:52:12 +03:00
}