Skip to content
Myr

Reformat all JS code with new prettier version

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Stefan Wille · committed by Stefan Wille · parent 417b11c · Browse files · 2 files+8 added−4 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+8 added−4 removed

  • other:+8 added−4 removed

2 files+8 added−4 removed

modified:src/patches.js+5 added-3 removed
modified:src/proxy.js+3 added-1 removed
112 unmodified lines
113114function getOwnPropertyDescriptor(state, prop) {115 const owner = state.modified116 ? state.copy117 : has(state.proxies, prop) ? state.proxies : state.base117 : has(state.proxies, prop)118 ? state.proxies119 : state.base120 const descriptor = Reflect.getOwnPropertyDescriptor(owner, prop)121 if (descriptor && !(Array.isArray(owner) && prop === "length"))122 descriptor.configurable = true123 return descriptor
71 unmodified lines