Skip to content

Commit

Permalink
docs: upgrade to v2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Donaldcwl committed Mar 6, 2023
1 parent b34375f commit d933bc8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ You can download imageCompression from the [dist folder][dist].

Alternatively, you can use a CDN like [delivrjs]:
```html
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/browser-image-compression@2.0.1/dist/browser-image-compression.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/browser-image-compression@2.0.2/dist/browser-image-compression.js"></script>
```


Expand Down
2 changes: 1 addition & 1 deletion example-express-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ yarn dev
## Sample frontend HTML
```html
<script src="https://cdn.jsdelivr.net/npm/promise-polyfill@8/dist/polyfill.min.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/browser-image-compression@2.0.1/dist/browser-image-compression.js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/browser-image-compression@2.0.2/dist/browser-image-compression.js"></script>
<input type="file" accept="image/*" onchange="compressImage(event);">
<script>
function compressImage (event) {
Expand Down
1 change: 1 addition & 0 deletions example/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</div>
browser-image-compression@<span id="version">loading...</span>
<select onchange="changeVersion(event)">
<option value="2.0.2">2.0.2</option>
<option value="2.0.1">2.0.1</option>
<option value="2.0.0">2.0.0</option>
<option value="1.0.17">1.0.17</option>
Expand Down

0 comments on commit d933bc8

Please sign in to comment.