Skip to content

Commit e281a47

Browse files
committed
Updates examples
1 parent 48c1c8e commit e281a47

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h3>Format DateTime</h3>
2222
</p>
2323

2424
<p>
25-
Hide title attribute:
25+
No title attribute:
2626
<relative-time datetime="1970-01-01T00:00:00.000Z" format="datetime" hour="numeric" minute="2-digit" second="2-digit"
2727
no-title="true">
2828
Jan 1 1970
@@ -193,8 +193,8 @@ <h2>Localised Dates</h2>
193193
</relative-time>
194194
</p>
195195

196-
<script type="module" src="../dist/index.js"></script>
197-
<!-- <script type="module" src="https://unpkg.com/@github/relative-time-element@latest/dist/bundle.js"></script> -->
196+
<!-- <script type="module" src="../dist/index.js"></script> -->
197+
<script type="module" src="https://unpkg.com/@github/relative-time-element@latest/dist/bundle.js"></script>
198198
<script>
199199
document.body.addEventListener('relative-time-updated', event => {
200200
console.log('event from', event.target, event)

0 commit comments

Comments
 (0)