From d2d49dd9b7b2fc2c5da5833421d67526d02e59ee Mon Sep 17 00:00:00 2001 From: Allen Robinson Date: Tue, 30 Oct 2018 17:15:27 -0400 Subject: [PATCH] Add explicit null template for array-selector This makes the element compatible with strictTemplatePolicy. --- lib/elements/array-selector.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/elements/array-selector.js b/lib/elements/array-selector.js index c95b878a5c..51a553c670 100644 --- a/lib/elements/array-selector.js +++ b/lib/elements/array-selector.js @@ -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 };