From acbe6496c9eb2e55944fcfa6f79543b06d62dc22 Mon Sep 17 00:00:00 2001 From: Steven Orvell Date: Fri, 7 Dec 2018 14:23:51 -0800 Subject: [PATCH] Fix typos --- lib/elements/dom-if.js | 4 ++-- lib/utils/templatize.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/elements/dom-if.js b/lib/elements/dom-if.js index 54742cb237..95ac8bf570 100644 --- a/lib/elements/dom-if.js +++ b/lib/elements/dom-if.js @@ -121,9 +121,9 @@ export class DomIf extends PolymerElement { */ disconnectedCallback() { super.disconnectedCallback(); - const parent = Polymer.wrap(this).parentNode; + const parent = wrap(this).parentNode; if (!parent || (parent.nodeType == Node.DOCUMENT_FRAGMENT_NODE && - !Polymer.wrap(parent).host)) { + !wrap(parent).host)) { this.__teardownInstance(); } } diff --git a/lib/utils/templatize.js b/lib/utils/templatize.js index e04cba7f01..b71f3be21b 100644 --- a/lib/utils/templatize.js +++ b/lib/utils/templatize.js @@ -49,8 +49,8 @@ import './boot.js'; import { PropertyEffects } from '../mixins/property-effects.js'; import { MutableData } from '../mixins/mutable-data.js'; -import { strictTemplatePolicy } from '../settings.js'; -import { wrap } from '../wrap.js'; +import { strictTemplatePolicy } from './settings.js'; +import { wrap } from './wrap.js'; // Base class for HTMLTemplateElement extension that has property effects // machinery for propagating host properties to children. This is an ES5