add exports and fix the entry point of the module
This commit is contained in:
@@ -79,6 +79,13 @@ ap.init();
|
||||
+ `ap.play()`
|
||||
+ `ap.pause()`
|
||||
|
||||
#### Work with module bundler
|
||||
|
||||
```js
|
||||
var APlayer = require('APlayer');
|
||||
var ap = new APlayer({...});
|
||||
```
|
||||
|
||||
### With lrc
|
||||
|
||||
#### LRC format:
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+2
-2
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"name": "aplayer",
|
||||
"version": "1.3.2",
|
||||
"version": "1.3.3",
|
||||
"description": "Wow, such a beautiful html5 music player",
|
||||
"main": "APlayer.js",
|
||||
"main": "dist/APlayer.min.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
|
||||
+488
-479
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user