-
Notifications
You must be signed in to change notification settings - Fork 499
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
Fix bad behavior reference in shop-cart-modal #105
Conversation
The new analyzer caught a bug here, where shop-cart-modal is referencing `IronOverlayBehaviorImpl` instead of `IronOverlayBehavior`. See https://github.com/PolymerElements/iron-overlay-behavior/blob/master/iron-overlay-behavior.html for their definitions.
I believe using |
The usage was intentional indeed, since the |
👍 |
I see. This is going to cause problems during linting/analysis since It feels like a hack to use just one piece of a behavior that was meant to inherit from others. Can we make this change to use the public behavior? Otherwise, if this is something we want wdyt? I'm fine with either, but if we keep things as-is shop won't be able to build using our 2.0 tool suite. |
Seems like there are two |
If we change |
@FredKSchott seems like swapping the two comment blocks seems to do the trick & keeps the docs correct (at least in 1.x). I guess we can close this PR and open one there |
Opened a PR here PolymerElements/iron-overlay-behavior#224 |
Yup, that did it. Thanks! |
Thanks @valdrinkoshi and @FredKSchott ! |
The new analyzer caught a bug here, where shop-cart-modal is referencing
IronOverlayBehaviorImpl
instead ofIronOverlayBehavior
. See https://github.com/PolymerElements/iron-overlay-behavior/blob/master/iron-overlay-behavior.html for their definitions./cc @keanulee I think? Feel free to reassign