Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pinguxx authored Jan 7, 2019
1 parent 0cc8bc2 commit a137a29
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,12 +124,9 @@ You can verify directly through the following links:

#### Weakmap error on ie < 11

'_@ungap/weakmap0.16376703265146863': object is not extensible
Babel freezes the template literals by spec but that causes problems with the weakmap polyfill. To fix this error add this at the top of your page
'_@ungap/weakmap': object is not extensible

```
this.WeakMap||(function(O,f){f=O.freeze||O;O.freeze=function(o){return'raw'in o?o:f(o)}}(Object));
```
Babel freezes the template literals by spec but that causes problems with the weakmap polyfill. To fix this error add the fix explained on [ungap/weakmap](https://github.com/ungap/weakmap#transpiled-code-and-frozen-objects-in-legacy-browsers)

## HTML Syntax Highlight

Expand Down

0 comments on commit a137a29

Please sign in to comment.