first commit. From prod.
This commit is contained in:
7
public/asciinema/asciinema-auto.js
Normal file
7
public/asciinema/asciinema-auto.js
Normal file
@@ -0,0 +1,7 @@
|
||||
(function() {
|
||||
document.querySelectorAll(".asciinema").forEach(function(element) {
|
||||
AsciinemaPlayer.create(element.getAttribute("x-data-cast"),
|
||||
element,
|
||||
JSON.parse(element.getAttribute("x-data-opts")));
|
||||
});
|
||||
}());
|
||||
Reference in New Issue
Block a user