Skip to content

Commit

Permalink
Update examples page
Browse files Browse the repository at this point in the history
  • Loading branch information
kcastellino committed Jul 27, 2023
1 parent 55f53fc commit 5f419cb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,10 @@ <h2>Localised Dates</h2>
</time>
</p>

<!-- Polyfill for Safari -->
<script src="https://unpkg.com/@ungap/custom-elements/es.js"></script>
<script type="module" src="../dist/index.js"></script>
<!-- <script type="module" src="https://unpkg.com/@github/relative-time-element@latest/dist/bundle.js"></script> -->
<!-- <script type="module" src="../dist/index.js"></script> -->
<script type="module" src="https://unpkg.com/@kcastellino/relative-time-element@latest/dist/bundle.js"></script>
<script>
document.body.addEventListener('relative-time-updated', event => {
console.log('event from', event.target, event)
Expand Down

0 comments on commit 5f419cb

Please sign in to comment.