-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Automatic node finding (this.$) can blow up with existing code #442
Comments
Is a short term 'fix' to document that you should either avoid overriding |
Can you be more specific about the nature of the
This is an outright name collision, so long-term I don't know how we avoid this problem. Any library that wants to put something on |
Oh, Steve points out there was only one instance of |
That's right.
|
It's easy to ensure our |
Setting |
Not a bug in Polymer per se, but I spent a lot of time scratching my head tonight. Maybe we can prevent future grief.
The HTML5 slide deck I'm using defines
HTMLElement.prototype.$
:Requirejs loads this code before the polymer import. This means
base.js
picks up the$
function instead of creating it's empty hash:and thus,
this.$
went bonkers when elements used it.The text was updated successfully, but these errors were encountered: