Skip to content

Commit

Permalink
chore: update cdn script in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremenichelli committed Aug 6, 2019
1 parent 82d4032 commit 485fa53
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ npm i huntjs --save
yarn add huntjs
```

Or include it as a script with `//unpkg.com/huntjs` as source.
Or include it as a script with `//unpkg.com/huntjs/dist/hunt.umd.js` as source.

## Usage

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ <h1>hunt</h1>
<p><a href="//github.com/jeremenichelli/hunt">Check the code and full API on GitHub</a></p>
</div>
</footer>
<script src="https://unpkg.com/huntjs@latest/dist/hunt.umd.js"></script>
<script src="https://unpkg.com/huntjs/dist/hunt.umd.js"></script>
<script>
window.addEventListener('DOMContentLoaded', function() {
var imageObserver = new Hunt(document.getElementsByClassName('lazy'), {
Expand Down
2 changes: 1 addition & 1 deletion test.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ <h1>hunt</h1>
</script>

<!-- LOAD HUNT LIBRARY -->
<script src="https://unpkg.com/huntjs@latest/dist/hunt.umd.js"></script>
<script src="https://unpkg.com/huntjs/dist/hunt.umd.js"></script>

<!-- OBSERVE TEST ELEMENTS -->
<script>
Expand Down

0 comments on commit 485fa53

Please sign in to comment.