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

Deprecate or remove interpolation in attributes #2095

Closed
TimothyGu opened this issue Sep 17, 2015 · 3 comments
Closed

Deprecate or remove interpolation in attributes #2095

TimothyGu opened this issue Sep 17, 2015 · 3 comments

Comments

@TimothyGu
Copy link
Member

Attributes themselves are already JavaScript strings. With the advent of ES2015 template strings, Jade's interpolation only adds a layer of ugliness and complexity that can be totally avoided without losing features.

See also #1991.

@TimothyGu
Copy link
Member Author

Even more outrageous is the fact that this feature was not even documented.

@TimothyGu TimothyGu added this to the 2.0.0 milestone Sep 17, 2015
@vai
Copy link

vai commented Sep 20, 2015

Huh. I use these (on board with es-* though). I must have found them from external presentations? curious

@ForbesLindesay
Copy link
Member

They have appeared in other places on the web/examples. I have always recommended against them though and look forward to their demise :)

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

No branches or pull requests

3 participants