Skip to content

Commit 4b13ed1

Browse files
authored
Merge pull request #870 from oliviertassinari/patch-2
[Fix IE 11] Don't use array includes.
2 parents a36c4d3 + a429374 commit 4b13ed1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/proxy/createClassProxy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ function createClassProxy(InitialComponent, proxyKey, options) {
108108

109109
const fakeBasePrototype = Base =>
110110
Object.getOwnPropertyNames(Base)
111-
.filter(key => !blackListedClassMembers.includes(key))
111+
.filter(key => blackListedClassMembers.indexOf(key) === -1)
112112
.filter(key => {
113113
const descriptor = Object.getOwnPropertyDescriptor(Base, key)
114114
return typeof descriptor.value === 'function'

0 commit comments

Comments
 (0)