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