You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I presume this is because Polymer.dom().childNodes is an Array under Shady DOM, but a NodeList under Shadow DOM.
If possible, x-repeat should be made to handle NodeLists, if not Polymer.dom() should tag its arrays somehow so that they also cause an exception in x-repeat.
Currently x-repeat requires an array. We should probably make Polymer.dom().childNodes an actual array for consistency, but it does cover up a potentially confusing issue wrt x-repeat.
With a template like this:
And code like this:
An exception is thrown under Shadow DOM, but not Shady DOM:
Uncaught TypeError: this.collection.observe is not a function
The text was updated successfully, but these errors were encountered: