From 1aeaa8016f9baa34af845d2371cbf0b5856c5266 Mon Sep 17 00:00:00 2001 From: Steven Orvell Date: Wed, 20 Feb 2019 14:40:34 -0800 Subject: [PATCH] Use correct ShadyDOM API: `attachDom` --- lib/mixins/element-mixin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mixins/element-mixin.js b/lib/mixins/element-mixin.js index a8dbc8ab14..8ba0fab5a4 100644 --- a/lib/mixins/element-mixin.js +++ b/lib/mixins/element-mixin.js @@ -673,7 +673,7 @@ export const ElementMixin = dedupingMixin(base => { if (dom) { if (!n.shadowRoot) { if (window.ShadyDOM) { - ShadyDOM.upgrade(dom, this, {mode: 'open'}); + ShadyDOM['attachDom'](dom, this, {mode: 'open'}); } else { n.attachShadow({mode: 'open'}); n.shadowRoot.appendChild(dom);