mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-29 19:34:18 -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,23 +1,23 @@
|
||||
{
|
||||
"license": "MIT",
|
||||
"version": "4.3.12",
|
||||
"name": "artplayer-tool-thumbnail",
|
||||
"description": "Thumbnail tool for ArtPlayer",
|
||||
"main": "dist/artplayer-tool-thumbnail.js",
|
||||
"legacy": "dist/artplayer-tool-thumbnail.legacy.js",
|
||||
"author": "Harvey Zack <laozhaochaguan@gmail.com>",
|
||||
"browserslist": "> 0.5%, last 2 versions, not dead",
|
||||
"homepage": "https://artplayer.org",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/zhw2590582/ArtPlayer.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/zhw2590582/ArtPlayer/issues"
|
||||
},
|
||||
"keywords": [
|
||||
"html5",
|
||||
"video",
|
||||
"player"
|
||||
]
|
||||
}
|
||||
"license": "MIT",
|
||||
"version": "4.3.12",
|
||||
"name": "artplayer-tool-thumbnail",
|
||||
"description": "Thumbnail tool for ArtPlayer",
|
||||
"main": "dist/artplayer-tool-thumbnail.js",
|
||||
"legacy": "dist/artplayer-tool-thumbnail.legacy.js",
|
||||
"author": "Harvey Zack <laozhaochaguan@gmail.com>",
|
||||
"browserslist": "> 0.5%, last 2 versions, not dead",
|
||||
"homepage": "https://artplayer.org",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/zhw2590582/ArtPlayer.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/zhw2590582/ArtPlayer/issues"
|
||||
},
|
||||
"keywords": [
|
||||
"html5",
|
||||
"video",
|
||||
"player"
|
||||
]
|
||||
}
|
||||
@@ -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