From a39cfd11471e3883b3ed5a90458e2c413745efc9 Mon Sep 17 00:00:00 2001 From: Steven Orvell Date: Wed, 31 Jan 2018 10:47:55 -0800 Subject: [PATCH] Avoid comment constructor for IE support. --- lib/utils/templatize.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/templatize.html b/lib/utils/templatize.html index 319ea1a78e..0430f3c0dd 100644 --- a/lib/utils/templatize.html +++ b/lib/utils/templatize.html @@ -176,7 +176,7 @@ } else if (n.localName === 'slot') { if (hide) { n.__polymerParent__ = n.parentNode; - n.__polymerReplaced__ = new Comment('hidden-slot'); + n.__polymerReplaced__ = document.createComment('hidden-slot'); n.parentNode.replaceChild(n.__polymerReplaced__, n); } else { const parent = n.__polymerParent__;