Skip to content

Commit

Permalink
Add explicit null template for array-selector
Browse files Browse the repository at this point in the history
This makes the element compatible with strictTemplatePolicy.
  • Loading branch information
arobins committed Oct 30, 2018
1 parent 2db60f5 commit d2d49dd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/elements/array-selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 };

0 comments on commit d2d49dd

Please sign in to comment.