mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 05:38:04 +00:00
feat: update api comments with jsdoc. (#52)
This commit is contained in:
parent
e9b6a81bef
commit
4e482941ed
9 changed files with 189 additions and 43 deletions
|
|
@ -64,7 +64,7 @@ export function shuffleAList(list) {
|
|||
|
||||
export function throttle(fn, time) {
|
||||
let isRun = false;
|
||||
return function() {
|
||||
return function () {
|
||||
if (isRun) return;
|
||||
isRun = true;
|
||||
fn.apply(this, arguments);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue