-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Tutorial uses tag-name in Polymer() call inconsistently #608
Comments
Could you confirm which version of Polymer you're experiencing this issue with? For certain classes of problems we support both the |
cc @arthurevans |
Looks like I'm using version 0.3.5 |
Try it as written. It should work just fine. You can omit the tag name in the
If all of these circumstances are met, it's cleaner to omit the tag name from the call since it's repetitive and can lead to cryptic errors. I apologize that this isn't in the docs yet -- I have a PR open to add this but I'm waiting for review from the engineers before merging. I'm going to keep this open as a reminder to make sure we use or omit tag names consistently in the tutorial, since it's kind of messy ATM. |
Renaming this to make it more descriptive. |
As of 0.4.0, the inferred tag name in the Polymer() call is supported nearly everywhere. Docs are updated here: http://www.polymer-project.org/docs/polymer/polymer.html#altregistration And the tutorial text and repo should only be using the form without the tag-name argument. |
The section on adding the
favoriteTapped
method reads:which won't work. It should read:
The text was updated successfully, but these errors were encountered: