From 9ad58e31999ed9ca7626d6508efc2d296c1d451a Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Mon, 27 Feb 2017 11:02:37 -0800 Subject: [PATCH] Move CustomStyle constructor to Polymer.CustomStyle Fixes #4333 --- src/elements/custom-style.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/elements/custom-style.html b/src/elements/custom-style.html index d1309eb1..9d6e2ef6 100644 --- a/src/elements/custom-style.html +++ b/src/elements/custom-style.html @@ -41,7 +41,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN } } - window.CustomStyle = CustomStyle; window.customElements.define('custom-style', CustomStyle); + Polymer.CustomStyle = CustomStyle; })();