Skip to content

Commit

Permalink
Merge pull request #181 from yvesgurcan/remove-preloading-from-example
Browse files Browse the repository at this point in the history
Fix bug where playing next song in example wasn't working
  • Loading branch information
yvesgurcan authored Feb 23, 2020
2 parents 2112e8d + 5a385a4 commit 446880d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<head>
<meta charset="utf-8" />
<title>
web-midi-player 1.3.10 |
web-midi-player 1.3.11 |
Documentation
</title>

Expand All @@ -24,7 +24,7 @@ <h3 class="mb0 no-anchor project-name">
<code>web-midi-player</code>
</h3>
<div class="mb1">
<code>1.3.10</code>
<code>1.3.11</code>
|
<a href="https://midi.yvesgurcan.com">README</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion example/react/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
</head>
<body>
<div id="app"></div>
<script type="text/javascript" src="main.dd6d3b44adb0ac3ff77b.js"></script></body>
<script type="text/javascript" src="main.e81314573d605c624d6e.js"></script></body>
</html>

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/react/src/components/Player.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ const Player = () => {
midiPlayer.setLogger({});
}
}
}, [songList, logger]);
}, [songList, currentSongIndex, logger]);

// unmount
useEffect(() => {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web-midi-player",
"version": "1.3.10",
"version": "1.3.11",
"description": "🎹 Event-driven JavaScript library to enable MIDI playback in the browser.",
"keywords": [
"midi",
Expand Down

0 comments on commit 446880d

Please sign in to comment.