Skip to content

Commit 86b0dc3

Browse files
committed
add exports and fix the entry point of the module
1 parent 891bc41 commit 86b0dc3

4 files changed

Lines changed: 473 additions & 457 deletions

File tree

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,13 @@ ap.init();
7979
+ `ap.play()`
8080
+ `ap.pause()`
8181

82+
#### Work with module bundler
83+
84+
```js
85+
var APlayer = require('APlayer');
86+
var ap = new APlayer({...});
87+
```
88+
8289
### With lrc
8390

8491
#### LRC format:

0 commit comments

Comments
 (0)