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 createPlayer() {
|
||||
asciinema_player.core.CreatePlayer(
|
||||
asciinema.player.js.CreatePlayer(
|
||||
parentNode,
|
||||
asciicast.url,
|
||||
{
|
||||
|
@ -45,7 +45,7 @@
|
||||
<body>
|
||||
<div id="player-container"></div>
|
||||
<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>
|
||||
</body>
|
||||
</html></code></pre>
|
||||
|
Loading…
Reference in New Issue
Block a user