Update code and docs to new namespace
This commit is contained in:
parent
4ea6db5274
commit
b1b3195f89
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
function tryCreatePlayer(parentNode, asciicast, options) {
|
function tryCreatePlayer(parentNode, asciicast, options) {
|
||||||
function createPlayer() {
|
function createPlayer() {
|
||||||
asciinema_player.core.CreatePlayer(
|
asciinema.player.js.CreatePlayer(
|
||||||
parentNode,
|
parentNode,
|
||||||
asciicast.url,
|
asciicast.url,
|
||||||
{
|
{
|
||||||
|
@ -45,7 +45,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id="player-container"></div>
|
<div id="player-container"></div>
|
||||||
<script>
|
<script>
|
||||||
asciinema_player.core.CreatePlayer('player-container', '/<%= page.asciicast_download_filename %>', { width: <%= page.asciicast_width %>, height: <%= page.asciicast_height %> });
|
asciinema.player.js.CreatePlayer('player-container', '/<%= page.asciicast_download_filename %>', { width: <%= page.asciicast_width %>, height: <%= page.asciicast_height %> });
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html></code></pre>
|
</html></code></pre>
|
||||||
|
Loading…
Reference in New Issue
Block a user