mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
refac
This commit is contained in:
parent
116f44cade
commit
71f1779c8c
2 changed files with 3 additions and 4 deletions
|
@ -89,14 +89,12 @@ document.addEventListener('DOMContentLoaded', function() {
|
|||
return markers;
|
||||
}
|
||||
|
||||
const url = "https://gist.githubusercontent.com/paul-gauthier/3011ab9455c2d28c0e5a60947202752f/raw/5a5b3dbf68a9c2b22b4954af287efedecdf79d52/tmp.redacted.cast";
|
||||
|
||||
// Parse transcript and create markers
|
||||
const markers = parseTranscript();
|
||||
|
||||
// Create player with a single call
|
||||
player = AsciinemaPlayer.create(
|
||||
url,
|
||||
recording_url,
|
||||
document.getElementById('demo'),
|
||||
{
|
||||
speed: 1.25,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
parent: Example chat transcripts
|
||||
nav_order: 9999
|
||||
nav_order: 0
|
||||
layout: minimal
|
||||
---
|
||||
|
||||
|
@ -14,6 +14,7 @@ layout: minimal
|
|||
|
||||
<script src="/assets/asciinema/asciinema-player.min.js"></script>
|
||||
<script>
|
||||
const recording_url = "https://gist.githubusercontent.com/paul-gauthier/3011ab9455c2d28c0e5a60947202752f/raw/5a5b3dbf68a9c2b22b4954af287efedecdf79d52/tmp.redacted.cast";
|
||||
{% include recording.js %}
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue