Skip to content

Commit f1f60ec

Browse files
committed
release 0.1.2
1 parent 7da2871 commit f1f60ec

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

dist/react-aplayer.min.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "react-aplayer",
3-
"version": "0.1.0",
4-
"main": "src/react-aplayer.js",
3+
"version": "0.1.2",
4+
"main": "dist/react-aplayer.min.js",
55
"author": "Sabrina Luo <[email protected]>",
66
"homepage": "http://sabrinaluo.github.io/react-aplayer",
77
"description": "A React wrapper component of APlayer",

src/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default class App extends React.Component {
2626
<h3>Normal</h3>
2727
<ReactAplayer {...appData.apNormal} onPlay={this.playHandler} onPause={this.pauseHandler} ref={(ap) => {
2828
const player = ap.state.control;
29-
29+
3030
const methods = ['play', 'pause', 'toggle', 'volume', 'addMusic', 'destroy'];
3131
methods.forEach(method => {
3232
this[method] = player[method].bind(player);

0 commit comments

Comments
 (0)