We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you run the following example, you get an error because the custom element does not have a hyphen in the name.
index.html
<html> <script src="polymer-v0.0.20130912/polymer-v0.0.20130912.min.js"></script> <link rel="import" href="element.html"> <element/>
element.html
<polymer-element name="element"> <template> </template> <script>Polymer('element');</script> </polymer-element>
However, the error has no message, so if you do this by accident it is difficult to work out what has gone wrong.
The text was updated successfully, but these errors were encountered:
The error message does have a useful message as of googlearchive/CustomElements@315f9a4.
It looks like the build ate the nice message for some reason. From my initial testing, it seems to have been fixed it in trunk.
Should be fixed in today's release version.
Sorry, something went wrong.
Currently, creating custom element without hyphen in the name ends with Uncaught Error:
Which I think is enough descriptive to understand what we have done wrong, so an issue can be closed now.
Agreed, thx
dfreedm
No branches or pull requests
If you run the following example, you get an error because the custom element does not have a hyphen in the name.
index.html
element.html
However, the error has no message, so if you do this by accident it is difficult to work out what has gone wrong.
The text was updated successfully, but these errors were encountered: