Skip to content
Myr

fix: add Map getter for DRAFT_STATE, make isEnumerable more resilient

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

authored by keenondrums · committed by Alec Larson · parent 08d88b8 · Browse files · 2 files+3 added−2 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+3 added−2 removed

  • other:+3 added−2 removed

2 files+3 added−2 removed

modified:src/common.js+2 added-2 removed
modified:src/proxy.js+1 added
180 unmodified lines
181 : Reflect.get(state, prop, receiver)182 }183}184const mapGetters = {185 [DRAFT_STATE]: state => state,186 size: state => source(state).size,187 has(state, prop) {188 state = source(state)189 return state.has.bind(state)
109 unmodified lines