Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Whitespace surrounding variables template data-binding causes rendering to fail #218

Open
kmjungersen opened this issue Sep 11, 2015 · 0 comments

Comments

@kmjungersen
Copy link

This is probably somewhat related to this issue, but not a duplicate to the best of my knowledge.

After an hour of being very confused as to why my templates weren't rendering properly and furiously searching the web for a solution, I figured out that whitespace around variable names causes template rendering to fail. Later, I eventually found this page in the docs, which describes this phenomenon as intended behavior. (Screenshot below for convenience)

capture

Having whitespace around variables is expected functionality to most developers.

Personally, I'm a huge fan of the way Polymer is organized and works as compared to other similar projects, however this single feature (or bug in my opinion) deters from the beauty of Polymer. I wasn't sure whether to call this a feature request or a bug report (since this is in fact explicitly mentioned in the docs), but after discussion with some colleagues, we agreed to call it a bug.

This is a great project, and I look forward to discussing this issue!

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

No branches or pull requests

1 participant