PolymerElements / iron-location

A Polymer element that manages binding to the page's URL.
22 stars 41 forks source link

Convert to Polymer.Element non-legacy classes #70

Closed coreyfarrell closed 7 years ago

coreyfarrell commented 7 years ago

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:

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.