Skip to content

Commit 7b7df5d

Browse files
committed
style: optimization of some named
1 parent 4485b2b commit 7b7df5d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/IllestWaveform.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function lazyLoadHandler() {
6767
renderTrigger.value = true
6868
}
6969
70-
// initialize
70+
// initialize handlers
7171
const waveRef = ref<HTMLCanvasElement | null>(null)
7272
const ready = ref<boolean>(false)
7373
@@ -83,14 +83,12 @@ async function init(): Promise<void> {
8383
emits('onReady', ready.value)
8484
}
8585
86-
// initialize web audio
8786
async function initAudioController(): Promise<void> {
8887
audioController = new AudioController(props)
8988
await audioController.setupAudio()
9089
watchIsFinish()
9190
}
9291
93-
// initialize wave canvas
9492
async function initWave(): Promise<void> {
9593
wave = new Wave(
9694
waveRef.value as HTMLCanvasElement,

0 commit comments

Comments
 (0)