docs: Update unpkg links

This commit is contained in:
Cole Bemis 2018-05-18 16:20:16 -07:00 committed by GitHub
parent 2ee03d261c
commit fcf9aec131
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,7 +50,7 @@ Or copy and paste the following code snippet into a blank `html` file.
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<title></title> <title></title>
<script src="https://unpkg.com/feather-icons/dist/feather.min.js"></script> <script src="https://unpkg.com/feather-icons"></script>
<body> <body>
<!-- example icon --> <!-- example icon -->
@ -95,8 +95,8 @@ Or load the script from a CDN provider.
```html ```html
<!-- choose one --> <!-- choose one -->
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons/dist/feather.min.js"></script>
``` ```
After including the script, `feather` will be available as a global variable. After including the script, `feather` will be available as a global variable.