style: auto-fix linting issues
This commit is contained in:
parent
68d1f726c4
commit
30401ccfa6
3 changed files with 2722 additions and 1928 deletions
4632
index.html
4632
index.html
File diff suppressed because one or more lines are too long
|
|
@ -1,5 +1,5 @@
|
|||
export class DashDownloader {
|
||||
constructor() { }
|
||||
constructor() {}
|
||||
|
||||
async downloadDashStream(manifestBlobUrl, options = {}) {
|
||||
const { onProgress, signal } = options;
|
||||
|
|
|
|||
16
js/ui.js
16
js/ui.js
|
|
@ -942,8 +942,6 @@ export class UIRenderer {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
async renderLibraryPage() {
|
||||
this.showPage('library');
|
||||
|
||||
|
|
@ -1534,10 +1532,10 @@ export class UIRenderer {
|
|||
dateDisplay =
|
||||
window.innerWidth > 768
|
||||
? releaseDate.toLocaleDateString('en-US', {
|
||||
year: 'numeric',
|
||||
month: 'long',
|
||||
day: 'numeric',
|
||||
})
|
||||
year: 'numeric',
|
||||
month: 'long',
|
||||
day: 'numeric',
|
||||
})
|
||||
: year;
|
||||
}
|
||||
}
|
||||
|
|
@ -2261,9 +2259,9 @@ export class UIRenderer {
|
|||
<span>${artist.popularity}% popularity</span>
|
||||
<div class="artist-tags">
|
||||
${(artist.artistRoles || [])
|
||||
.filter((role) => role.category)
|
||||
.map((role) => `<span class="artist-tag">${role.category}</span>`)
|
||||
.join('')}
|
||||
.filter((role) => role.category)
|
||||
.map((role) => `<span class="artist-tag">${role.category}</span>`)
|
||||
.join('')}
|
||||
</div>
|
||||
`;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue