Skip to content

Commit

Permalink
Merge pull request #870 from oliviertassinari/patch-2
Browse files Browse the repository at this point in the history
[Fix IE 11] Don't use array includes.
  • Loading branch information
theKashey authored Feb 21, 2018
2 parents a36c4d3 + a429374 commit 4b13ed1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proxy/createClassProxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function createClassProxy(InitialComponent, proxyKey, options) {

const fakeBasePrototype = Base =>
Object.getOwnPropertyNames(Base)
.filter(key => !blackListedClassMembers.includes(key))
.filter(key => blackListedClassMembers.indexOf(key) === -1)
.filter(key => {
const descriptor = Object.getOwnPropertyDescriptor(Base, key)
return typeof descriptor.value === 'function'
Expand Down

0 comments on commit 4b13ed1

Please sign in to comment.