Skip to content

Commit

Permalink
remove cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Oct 26, 2018
1 parent e752636 commit 079ac3b
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions lib/utils/flattened-nodes-observer.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,6 @@ export let FlattenedNodesObserver = class {
this._schedule();
}

_wrap(node) {
return node;
}

/**
* Activates an observer. This method is automatically called when
* a `FlattenedNodesObserver` is created. It should only be called to
Expand Down Expand Up @@ -313,15 +309,4 @@ export let FlattenedNodesObserver = class {
}
}

};

if (window.ShadyDOM && window.ShadyDOM.inUse && window.ShadyDOM.noPatch) {
FlattenedNodesObserver = class extends FlattenedNodesObserver {

static _wrap(node) {
return Polymer.dom(node);
}

};

}
};

0 comments on commit 079ac3b

Please sign in to comment.