Refactor code structure for improved readability and maintainability
This commit is contained in:
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Noctune - Music That Hits Different</title>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Mono:wght@400;700&display=swap" rel="stylesheet">
|
||||
<script type="module" crossorigin src="/assets/index-sEdWZnAM.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-BxVozdka.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-CuqcJYD7.css">
|
||||
</head>
|
||||
<body class="bg-noctune-cream">
|
||||
|
||||
@@ -15,11 +15,11 @@ function load(url) {
|
||||
howl = new Howl({
|
||||
src: [url],
|
||||
html5: true,
|
||||
onplay: () => listeners.onPlay?.(),
|
||||
onpause: () => listeners.onPause?.(),
|
||||
onend: () => listeners.onEnd?.(),
|
||||
onloaderror: () => listeners.onError?.(),
|
||||
onplayerror: () => listeners.onError?.(),
|
||||
onplay: () => listeners.play?.(),
|
||||
onpause: () => listeners.pause?.(),
|
||||
onend: () => listeners.end?.(),
|
||||
onloaderror: () => listeners.error?.(),
|
||||
onplayerror: () => listeners.error?.(),
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user