Moved jsdoc to separate config.
Private fields moved to top of class.
This commit is contained in:
parent
c87a4d9c49
commit
ba9e950556
@ -1,4 +1,14 @@
|
|||||||
{
|
{
|
||||||
|
"source": {
|
||||||
|
"include": [
|
||||||
|
"./src",
|
||||||
|
"README.md"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"opts": {
|
||||||
|
"destination": "./docs",
|
||||||
|
"recurse": true
|
||||||
|
},
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"node_modules/@ckeditor/jsdoc-plugins/lib/export-fixer/export-fixer.js",
|
"node_modules/@ckeditor/jsdoc-plugins/lib/export-fixer/export-fixer.js",
|
||||||
"node_modules/@ckeditor/jsdoc-plugins/lib/longname-fixer/longname-fixer.js"
|
"node_modules/@ckeditor/jsdoc-plugins/lib/longname-fixer/longname-fixer.js"
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
"test:console": "mocha tests/**",
|
"test:console": "mocha tests/**",
|
||||||
"test": "npm run test:console",
|
"test": "npm run test:console",
|
||||||
"watch": "webpack --watch --config webpack.dev.cjs",
|
"watch": "webpack --watch --config webpack.dev.cjs",
|
||||||
"docs": "jsdoc src README.md -r -d docs -c jsdoc.config.json"
|
"docs": "jsdoc -c jsdoc.config.json"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
|
@ -12,6 +12,13 @@ import Visualizer from "../visualization/Visualizer.js";
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
export default class PlayListSong {
|
export default class PlayListSong {
|
||||||
|
#displayName;
|
||||||
|
#author;
|
||||||
|
#url;
|
||||||
|
#audio;
|
||||||
|
#visualizer;
|
||||||
|
#ready = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a song for a {@link SongPlaylist}.
|
* Constructs a song for a {@link SongPlaylist}.
|
||||||
*
|
*
|
||||||
@ -24,12 +31,7 @@ export default class PlayListSong {
|
|||||||
this.#author = author;
|
this.#author = author;
|
||||||
this.#url = url;
|
this.#url = url;
|
||||||
}
|
}
|
||||||
#displayName;
|
|
||||||
#author;
|
|
||||||
#url;
|
|
||||||
#audio;
|
|
||||||
#visualizer;
|
|
||||||
#ready = false;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user