Skip to content
Myr

Sanity fix

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

authored by Michel Weststrate · committed by Michel Weststrate · parent f8c65f0 · Browse files · 1 file+1 added−1 removed
This commit

State

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

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/es5.js+1 added-1 removed
302 unmodified lines
303304function proxyMethod(trap, key) {305 return {306 get() {307 return (...args) => {307 return function(...args) {308 const state = this[DRAFT_STATE]309 assertUnrevoked(state)310 return trap(state, key, state.draft)(...args)311 }
157 unmodified lines