diff --git a/lib/legacy/class.js b/lib/legacy/class.js index d1ee5599ee..ba28ec6ed5 100644 --- a/lib/legacy/class.js +++ b/lib/legacy/class.js @@ -9,8 +9,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN */ import { LegacyElementMixin } from './legacy-element-mixin.js'; -import { DomModule } from '../elements/dom-module.js'; -import { strictTemplatePolicy } from '../utils/settings.js'; let metaProps = { attached: true, diff --git a/lib/mixins/element-mixin.js b/lib/mixins/element-mixin.js index c5787cb7f0..f11f5fd75f 100644 --- a/lib/mixins/element-mixin.js +++ b/lib/mixins/element-mixin.js @@ -281,7 +281,7 @@ export const ElementMixin = dedupingMixin(base => { function getTemplateFromDomModule(is) { let template = null; if (is && allowTemplateFromDomModule) { - template = DomModule.import(is, 'template') + template = DomModule.import(is, 'template'); // Under strictTemplatePolicy, require any element with an `is` // specified to have a dom-module if (strictTemplatePolicy && !template) {