Polymer / polymer

Our original Web Component library.
https://polymer-library.polymer-project.org/
BSD 3-Clause "New" or "Revised" License
22.05k stars 2.01k forks source link

Allow `undefined` in legacy _template field to fall-through to normal lookup path #5622

Closed kevinpschaaf closed 4 years ago

kevinpschaaf commented 4 years ago

Allow undefined in legacy _template field to fall-through to normal lookup path.

Allows a user to unconditionally set _template to a value and have build-time controls to change the value between a template and undefined to allow build-time experimentation with transitioning from <dom-module> templates to inlined templates in JS.