Convert iron-location and iron-query-params to Polymer.Element based classes. I have not touched demos or tests but have verified this still works with my own app which uses hash based SPA navigation.
Changes that were done to remove legacy dependencies:
Replace calls to listen, unlisten and fire with standard calls addEventListener, removeEventListener and dispatchEvent.
Replace hostAttributes: { hidden: true } with call to setAttribute.
I also removed the initialize method from iron-location, moved it's actions to constructor / connectedCallback. From what I can tell this existed to support 2.x-hybrid mode which no longer applies when using Polymer.Element?
I assume the variants section should be removed from bower.json but that would also require changes to travis-ci, will wait for further advice on what to do about that.
Convert iron-location and iron-query-params to Polymer.Element based classes. I have not touched demos or tests but have verified this still works with my own app which uses hash based SPA navigation.
Changes that were done to remove legacy dependencies:
hostAttributes: { hidden: true }
with call to setAttribute.I also removed the initialize method from iron-location, moved it's actions to constructor / connectedCallback. From what I can tell this existed to support 2.x-hybrid mode which no longer applies when using Polymer.Element?
I assume the variants section should be removed from bower.json but that would also require changes to travis-ci, will wait for further advice on what to do about that.