mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +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;
|
return markers;
|
||||||
}
|
}
|
||||||
|
|
||||||
const url = "https://gist.githubusercontent.com/paul-gauthier/3011ab9455c2d28c0e5a60947202752f/raw/5a5b3dbf68a9c2b22b4954af287efedecdf79d52/tmp.redacted.cast";
|
|
||||||
|
|
||||||
// Parse transcript and create markers
|
// Parse transcript and create markers
|
||||||
const markers = parseTranscript();
|
const markers = parseTranscript();
|
||||||
|
|
||||||
// Create player with a single call
|
// Create player with a single call
|
||||||
player = AsciinemaPlayer.create(
|
player = AsciinemaPlayer.create(
|
||||||
url,
|
recording_url,
|
||||||
document.getElementById('demo'),
|
document.getElementById('demo'),
|
||||||
{
|
{
|
||||||
speed: 1.25,
|
speed: 1.25,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
---
|
---
|
||||||
parent: Example chat transcripts
|
parent: Example chat transcripts
|
||||||
nav_order: 9999
|
nav_order: 0
|
||||||
layout: minimal
|
layout: minimal
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@ layout: minimal
|
||||||
|
|
||||||
<script src="/assets/asciinema/asciinema-player.min.js"></script>
|
<script src="/assets/asciinema/asciinema-player.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
|
const recording_url = "https://gist.githubusercontent.com/paul-gauthier/3011ab9455c2d28c0e5a60947202752f/raw/5a5b3dbf68a9c2b22b4954af287efedecdf79d52/tmp.redacted.cast";
|
||||||
{% include recording.js %}
|
{% include recording.js %}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue