Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More weird parenthesis wrapping #45

Open
maranomynet opened this issue Oct 17, 2018 · 1 comment
Open

More weird parenthesis wrapping #45

maranomynet opened this issue Oct 17, 2018 · 1 comment
Labels

Comments

@maranomynet
Copy link

maranomynet commented Oct 17, 2018

$bp[$name] = ($itm.minWidth)px if $itm.minWidth;
$bp[$name + '-min'] = ($itm.minWidth)px if $itm.minWidth;

becomes:

$bp[$name] = ($itm.minWidth) px if ($itm.minWidth);
$bp[($name + '-min')] = ($itm.minWidth) px if ($itm.minWidth);

NOTE The $name + 'min' bit should not be wrapped

Additionally, as I format (save) again this becomes:

$bp[$name] = (($itm.minWidth)) px if ($itm.minWidth);
$bp[(($name + '-min'))] = (($itm.minWidth)) px if ($itm.minWidth);

which becomes:

$bp[$name] = ((($itm.minWidth))) px if ($itm.minWidth);
$bp[((($name + '-min')))] = ((($itm.minWidth))) px if ($itm.minWidth);

which becomes:

$bp[$name] = (((($itm.minWidth)))) px if ($itm.minWidth);
$bp[(((($name + '-min'))))] = (((($itm.minWidth)))) px if ($itm.minWidth);

ad nauseum..

@ThisIsManta
Copy link
Owner

See my comment at #55 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants