Skip to content

Commit 2cf2b93

Browse files
authored
Merge pull request gajus#166 from weblogixx/master
Fix failing tests for IE11 map compatibility (fixes https://github.co…
2 parents 35b4a53 + c8f6799 commit 2cf2b93

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/generateAppendClassName.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ export default (styles, styleNames: Array<string>, errorWhenNotFound: boolean):
1515
return styleNameIndex;
1616
}
1717
} else {
18-
stylesIndexMap = stylesIndex.set(styles, new Map());
18+
stylesIndexMap = new Map();
19+
stylesIndex.set(styles, new Map());
1920
}
2021

2122
appendClassName = '';

0 commit comments

Comments
 (0)