mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 17:01:20 -08:00
add prettier
This commit is contained in:
1 parent
4092b51c4e
commit
1593a4a528
95 files changed
+25431
-25282
No files matched your search
@@ -1,5 +1,5 @@
|
||||
export function sleep(ms) {
|
||||
return new Promise(resolve => setTimeout(resolve, ms));
|
||||
return new Promise((resolve) => setTimeout(resolve, ms));
|
||||
}
|
||||
|
||||
export function runPromisesInSeries(ps) {
|
||||
@@ -14,4 +14,4 @@ export function getFileName(name) {
|
||||
|
||||
export function clamp(num, a, b) {
|
||||
return Math.max(Math.min(num, Math.max(a, b)), Math.min(a, b));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user