mirror of
https://github.com/Polymer/polymer.git
synced 2026-08-19 01:14:44 -05:00
Add explicit null template for array-selector
This makes the element compatible with strictTemplatePolicy.
This commit is contained in:
@@ -426,6 +426,7 @@ class ArraySelector extends baseArraySelector {
|
||||
// Not needed to find template; can be removed once the analyzer
|
||||
// can find the tag name from customElements.define call
|
||||
static get is() { return 'array-selector'; }
|
||||
static get template() { return null; }
|
||||
}
|
||||
customElements.define(ArraySelector.is, ArraySelector);
|
||||
export { ArraySelector };
|
||||
|
||||
Reference in New Issue
Block a user