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

Support &-suffix #1055

Closed
nex3 opened this Issue Dec 20, 2013 · 2 comments

Comments

Projects
None yet
2 participants
@nex3
Contributor

nex3 commented Dec 20, 2013

@chriseppstein and I have decided that, given that @at-root #{&}-suffix doesn't work as well as we'd hoped, it's worth the downsides to support &-suffix on its own.

This should throw an error if it generates an invalid selector. This error should be clear about how that selector was constructed from the source code.

@xzyfer

This comment has been minimized.

Show comment
Hide comment
@xzyfer

xzyfer Dec 20, 2013

Contributor

Does this mean the @at-root directive is being dropped, or simply the need to use interpolation on & ?

edit already answered https://gist.github.com/nex3/8050187

Contributor

xzyfer commented Dec 20, 2013

Does this mean the @at-root directive is being dropped, or simply the need to use interpolation on & ?

edit already answered https://gist.github.com/nex3/8050187

@nex3

This comment has been minimized.

Show comment
Hide comment
@nex3

nex3 Dec 20, 2013

Contributor

@at-root will not be dropped, although support for & in a script context is being delayed until the next release.

See also https://gist.github.com/nex3/8050187.

Contributor

nex3 commented Dec 20, 2013

@at-root will not be dropped, although support for & in a script context is being delayed until the next release.

See also https://gist.github.com/nex3/8050187.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment