Skip to content
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

Compatibility fix for hybrid views for Polymer 1 and 2 #40

Merged
merged 1 commit into from
Dec 19, 2017

Conversation

warpech
Copy link
Contributor

@warpech warpech commented Dec 19, 2017

Problem: imported-template does not forward notifications to <template is="dom-bind"> if it is wrapped in <dom-bind>. This makes it impossible to have hybrid views for Polymer 1 and 2

Solution: apply the mirrored version of the Polymer's own solution for this problem: https://github.com/Polymer/polymer/pull/4537/files

This was discussed in starcounter.slack.com/archives/C5PEXSXQE/p1513614571000221

Requires Juicy/juicy-html#37, otherwise the tests fail.

…e is="dom-bind"> if it is wrapped in <dom-bind>. This makes it impossible to have hybrid views for Polymer 1 and 2

Solution: apply the mirrored version of the Polymer's own solution for this problem: https://github.com/Polymer/polymer/pull/4537/files
Copy link
Member

@tomalec tomalec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as Juicy/juicy-html#37 (comment), other than that LGTM

@warpech warpech merged commit 17cdd8a into 2.x Dec 19, 2017
@warpech
Copy link
Contributor Author

warpech commented Jan 9, 2018

Setting as “Finished” because it is:

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

Successfully merging this pull request may close these issues.

3 participants