Skip to content

Commit

Permalink
Fix IE 11 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari authored Feb 21, 2018
1 parent a36c4d3 commit a429374
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 a429374

Please sign in to comment.