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

minor updates/fixes to g-component, selector and menu #31

Merged
merged 4 commits into from Nov 5, 2012
Merged

minor updates/fixes to g-component, selector and menu #31

merged 4 commits into from Nov 5, 2012

Conversation

frankiefu
Copy link
Member

No description provided.

@ghost ghost assigned sjmiles Nov 5, 2012
@@ -432,7 +432,7 @@
// is in inNodes, if any
var n = inTarget;
while (n && n != this) {
var i = inNodes.indexOf(n);
var i = Array.prototype.indexOf.call(inNodes, n);
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you be more specific about your use case where inNodes is a NodeList. When I wrote this method, I assumed the input would always be the result of getDistributedNodes(). Does that method return a NodeList under native ShadowDOM?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, getDistributedNodes() under native ShadowDOM returns a NodeList.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, not sure how I missed that. Thank you.

@sjmiles
Copy link
Contributor

sjmiles commented Nov 5, 2012

LGTM

sjmiles added a commit that referenced this pull request Nov 5, 2012
minor updates/fixes to g-component, selector and menu
@sjmiles sjmiles merged commit 60fab55 into Polymer:master Nov 5, 2012
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.

None yet

2 participants