Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

@apply with parentheses is deprecated #1944

Merged
merged 3 commits into from
Mar 14, 2017
Merged

Conversation

rictic
Copy link
Contributor

@rictic rictic commented Mar 12, 2017

Noticed by Chad in #2.0-preview on slack

The fix is simple though, just remove the parens
@arthurevans
Copy link

Does this form work in 1.0?

@rictic
Copy link
Contributor Author

rictic commented Mar 14, 2017

Yes, 1.0 works both with and without parens. 2.0 (at least at one point) only works without parens.

@rictic
Copy link
Contributor Author

rictic commented Mar 14, 2017

69fa975 LGTM assuming that the {.alert .alert-info} is something that is handled specially by the docs project.

@arthurevans
Copy link

Yeah, it gives us little alert/note boxes:

image

Copy link

@arthurevans arthurevans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Added note.

@arthurevans arthurevans merged commit 50dc442 into master Mar 14, 2017
@rictic rictic deleted the no-parens-at-apply branch March 14, 2017 04:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants