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

Changes to make compatible with noPatch version of ShadyDOM [3.x] #5452

Merged
merged 39 commits into from
Feb 7, 2019

Conversation

sorvell
Copy link
Contributor

@sorvell sorvell commented Dec 7, 2018

No description provided.

Steven Orvell and others added 18 commits December 7, 2018 12:30
Sync'd with Polymer 1 wrap locations
Re-use code in Polymer.dom when in noPatch mode.
ShadyDOM type not working. Disabling to see if tests otherwise pass.
Everything should work even if a version of ShadyDOM that does not support `noPatch` is loaded.

Also, re-enable type generation and privatize problematic type.
This ensures attributes bindings to class, name, and slot behave correctly when `ShadyDOM.noPatch` is set.
When `ShadyDOM.noPatch` is set, this ensures that firing an event triggers distribution.
Uses new `ShadyDOM.flushInitial(shadowRoot)` API. This better matches the behavior of Polymer 1.
This separates the behavior from `legacyOptimizations`. Performs synchronous initial rendering under ShadyDOM when this flag is set.
lib/utils/flattened-nodes-observer.js Show resolved Hide resolved
lib/utils/gestures.js Show resolved Hide resolved
Copy link
Member

@kevinpschaaf kevinpschaaf left a comment

Choose a reason for hiding this comment

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

LGTM

@kevinpschaaf kevinpschaaf merged commit 7823d8a into master Feb 7, 2019
@kevinpschaaf kevinpschaaf deleted the shady-nopatch branch February 7, 2019 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants