Skip to content

Commit

Permalink
fix(engine): issue #989 enumerable in shadowRoot
Browse files Browse the repository at this point in the history
  • Loading branch information
caridy committed Jan 22, 2019
1 parent 8c5076e commit 7bb18f0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/@lwc/engine/src/faux-shadow/shadow-root.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,10 @@ export function attachShadow(elm: HTMLElement, options: ShadowRootInit): Synthet
defineProperty(sr, 'mode', {
get() { return mode; },
configurable: true,
enumerable: true,
});
defineProperty(sr, 'delegatesFocus', {
get() { return !!delegatesFocus; },
configurable: true,
enumerable: true,
});
// correcting the proto chain
setPrototypeOf(sr, SyntheticShadowRoot.prototype);
Expand Down Expand Up @@ -132,7 +130,6 @@ const ShadowRootDescriptors = {
},
},
delegatesFocus: {
enumerable: true,
configurable: true,
get(): boolean {
return false;
Expand Down

0 comments on commit 7bb18f0

Please sign in to comment.