Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Dec 7, 2018
1 parent e3b3baa commit acbe649
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/elements/dom-if.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}
Expand Down
4 changes: 2 additions & 2 deletions lib/utils/templatize.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit acbe649

Please sign in to comment.