Moved jsdoc to separate config.

Private fields moved to top of class.
This commit is contained in:
Harrison Deng 2022-04-18 07:31:26 -05:00
parent c87a4d9c49
commit ba9e950556
3 changed files with 19 additions and 7 deletions

View File

@ -1,4 +1,14 @@
{
"source": {
"include": [
"./src",
"README.md"
]
},
"opts": {
"destination": "./docs",
"recurse": true
},
"plugins": [
"node_modules/@ckeditor/jsdoc-plugins/lib/export-fixer/export-fixer.js",
"node_modules/@ckeditor/jsdoc-plugins/lib/longname-fixer/longname-fixer.js"

View File

@ -13,7 +13,7 @@
"test:console": "mocha tests/**",
"test": "npm run test:console",
"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": "",
"license": "ISC",

View File

@ -12,6 +12,13 @@ import Visualizer from "../visualization/Visualizer.js";
*
*/
export default class PlayListSong {
#displayName;
#author;
#url;
#audio;
#visualizer;
#ready = false;
/**
* Constructs a song for a {@link SongPlaylist}.
*
@ -24,12 +31,7 @@ export default class PlayListSong {
this.#author = author;
this.#url = url;
}
#displayName;
#author;
#url;
#audio;
#visualizer;
#ready = false;
/**
*