mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-18 06:07:48 +00:00
lint: prettier
This commit is contained in:
parent
e7f8bf107f
commit
9f03beb1cd
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ export function shuffleAList(list) {
|
||||||
|
|
||||||
export function throttle(fn, time) {
|
export function throttle(fn, time) {
|
||||||
let isRun = false;
|
let isRun = false;
|
||||||
return function() {
|
return function () {
|
||||||
if (isRun) return;
|
if (isRun) return;
|
||||||
isRun = true;
|
isRun = true;
|
||||||
fn.apply(this, arguments);
|
fn.apply(this, arguments);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue