Skip to content

Commit

Permalink
Merge pull request #61 from tomik23:ie-library
Browse files Browse the repository at this point in the history
feat: IE library
  • Loading branch information
tomickigrzegorz authored Jan 26, 2022
2 parents a5e28e4 + 9cbdf92 commit 2c552a3
Show file tree
Hide file tree
Showing 9 changed files with 353 additions and 55 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 2022-02-26 (v1.1.8)

### Added
- separate version for IE in dist folder

## 2021-11-26 (v1.1.6)

### Improvements
Expand Down
37 changes: 14 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<p align="center">
<img src="https://img.shields.io/github/package-json/v/tomik23/circular-progress-bar">
<img src="https://img.shields.io/github/size/tomik23/circular-progress-bar/docs/circularProgressBar.min.js">
<img src="https://img.shields.io/github/size/tomik23/circular-progress-bar/dist/circularProgressBar.min.js">
<a href="LICENSE">
<img src="https://img.shields.io/github/license/tomik23/circular-progress-bar">
</a>
Expand All @@ -27,7 +27,7 @@ See the demo - [example](https://tomik23.github.io/circular-progress-bar/)
#### JavaScript

```html
<script src="https://cdn.jsdelivr.net/gh/tomik23/[email protected].7/dist/circularProgressBar.min.js"></script>
<script src="https://cdn.jsdelivr.net/gh/tomik23/[email protected].8/dist/circularProgressBar.min.js"></script>
```

##### -- OR --
Expand Down Expand Up @@ -231,28 +231,19 @@ npm run build
box-shadow: inset 0 0 25px 10px rgb(162, 202, 255);
}
```
## Browsers support
## Browser support

| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/opera/opera_48x48.png" alt="Opera" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>Opera | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/vivaldi/vivaldi_48x48.png" alt="Vivaldi" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br/>Vivaldi |
| :---: | :---: | :---: | :---: | :---: |
| Edge | last 2 versions | last 2 versions | last 2 versions | last 2 versions |
circular-progress-bar supports all major browsers including IE 10 and above

> If you want the code to be supported in IE11 you need replace a few lines in `package.json`. Below what needs to be changed in the code and compile.
Configuration for IE:

Replace
```json
"production": [
"defaults",
"not IE 11",
"maintained node versions"
]
```
### local files
- dist/js/circularProgressBar.ie.min.js

### cdn

- https://cdn.jsdelivr.net/gh/tomik23/[email protected]/dist/circularProgressBar.ie.min

## License

To this
```json
"production": [
">0.2%",
"not dead",
"not op_mini all"
]
```
This project is available under the [MIT](https://opensource.org/licenses/mit-license.php) license.
14 changes: 0 additions & 14 deletions babel.config.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/circularProgressBar.ie.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2c552a3

Please sign in to comment.