Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

fix(components): TranscludingComponentFactory passes a wrong element to onShadowRoot #1436

Conversation

vsavkin
Copy link
Contributor

@vsavkin vsavkin commented Sep 8, 2014

Closes #1435

@@ -1403,7 +1403,7 @@ class AttachDetachComponent implements AttachAware, DetachAware, ShadowRootAware

attach() => logger('attach:@$attrValue; =>$exprValue; =>!$onceValue');
detach() => logger('detach');
onShadowRoot(shadowRoot) {
onShadowRoot(ShadowRoot shadowRoot) {
Copy link
Contributor

Choose a reason for hiding this comment

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

This looks like the test, would it be possible to add a .not.toThrow() to make it more explicit ?

@vicb
Copy link
Contributor

vicb commented Sep 8, 2014

LGTM, 1 minor comment

@vsavkin vsavkin force-pushed the emulated_components_on_shadow_root branch from 22cf079 to 6edd76e Compare September 14, 2014 20:59
vsavkin added a commit that referenced this pull request Sep 14, 2014
@vsavkin vsavkin closed this in 2c87e84 Sep 14, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

TranscludingComponentFactory Passes a Wrong Element to onShadowRoot
4 participants