Skip to content

Commit

Permalink
docs(README): updated instructions for IE10/IE11
Browse files Browse the repository at this point in the history
  • Loading branch information
AhsanAyaz committed Dec 2, 2020
1 parent cbca0c5 commit 14bba3f
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,9 @@ Please see [CHANGE_LOG.MD](CHANGE_LOG.MD) for the updates.

## IE10, IE11 Compatibility

If you're consuming the library for IE10 & IE11, make sure to uncomment (at least) these lines from `src/polyfills.ts` in your project.
If you're consuming the library for IE10 & IE11, please refer to the `polyfills.ts` file in your project.

```typescript
import 'core-js/es6/string';
import 'core-js/es6/array';
import 'core-js/es6/map';
```
For example, for an Angular 9.x+ project, you can refer to the changes done in [this PR](https://github.com/KoderLabs/ngx-device-detector/pull/184/files) for our [demo project](https://koderlabs.github.io/ngx-device-detector/demo/) that works on IE11

## Credits

Expand Down

0 comments on commit 14bba3f

Please sign in to comment.