File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ import HumanReplay from 'human-replay';
3232### CDN
3333
3434``` html
35- <script src =" https://cdn.jsdelivr.net/npm/human-replay/dist/browser/index.min.js " ></script >
35+ <script src =" https://cdn.jsdelivr.net/npm/human-replay" ></script >
3636<script >
3737 // window.HumanReplay
3838 </script >
@@ -56,7 +56,7 @@ import HumanReplay from 'human-replay';
5656 <button id =" replay" >Replay</button >
5757 <button id =" reset" >Reset</button >
5858
59- <script src =" https://cdn.jsdelivr.net/npm/human-replay/dist/browser/index.min.js " ></script >
59+ <script src =" https://cdn.jsdelivr.net/npm/human-replay" ></script >
6060 <script >
6161 const inputElement = document .getElementById (' recordInput' );
6262 const outputElement = document .getElementById (' replayOutput' );
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ <h4 class="font-semibold mb-2">💾 Compressed Data - Use This on Your Website</
195195 < div >
196196 < strong class ="text-green-300 "> 🌐 Method 2: CDN (Browser)</ strong >
197197 < div class ="bg-gray-800/50 p-2 mt-1 rounded font-mono text-gray-200 ">
198- < pre class ="break-all whitespace-pre-wrap "> < code > <script src="https://cdn.jsdelivr.net/npm/human-replay@latest/dist/browser/index.js "></script>
198+ < pre class ="break-all whitespace-pre-wrap "> < code > <script src="https://cdn.jsdelivr.net/npm/human-replay"></script>
199199<script>
200200// Record from any element on your page
201201const recorder = new HumanReplay(document.getElementById('any-input'));
You can’t perform that action at this time.
0 commit comments