-
Notifications
You must be signed in to change notification settings - Fork 33
Fix IronMeta 1.x not working with iron-iconset-svg #71
base: master
Are you sure you want to change the base?
Conversation
I think the following line breaks backward compatibility with IronMeta 1.x: https://github.com/PolymerElements/iron-iconset-svg/blob/master/iron-iconset-svg.html#L176 We should be forcing IronMeta 2.x and disallowing 1.x. See bug PolymerElements#69 PolymerElements#69
@bicknellr thoughts? Also @notwaldorf here's another issue with versioning :( |
We can't pin this to only 2.0, because this would make this element not hybrid. I think the problem is that |
It looks like iron-meta 1.x doesn't really work in Polymer 2 because of two main reasons:
The combination of these two differences result in a situation where the
This means that if you want to support both iron-meta 1.x and 2.x running in Polymer 2 you need to work around these differences with two particular changes:
So, the intersection of the compatible API is:
|
I've opened PRs for |
Just added a PR for iron-icons. |
After mulling this over a bit, I'm not sure that what I've done in these PRs makes sense. If it's true that iron-meta 2 doesn't work in Polymer 1 with the same API, maybe we should change iron-meta's 2.x branch to indicate that it doesn't support both Polymer 1 and 2 but only 2? @cdata does that sound reasonable? |
I think the following line breaks backward compatibility with IronMeta 1.x:
https://github.com/PolymerElements/iron-iconset-svg/blob/master/iron-iconset-svg.html#L176
We should be forcing IronMeta 2.x and disallowing 1.x.
See bug #69
#69