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">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Noctune - Music That Hits Different</title>
|
<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">
|
<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">
|
<link rel="stylesheet" crossorigin href="/assets/index-CuqcJYD7.css">
|
||||||
</head>
|
</head>
|
||||||
<body class="bg-noctune-cream">
|
<body class="bg-noctune-cream">
|
||||||
|
|||||||
@@ -15,11 +15,11 @@ function load(url) {
|
|||||||
howl = new Howl({
|
howl = new Howl({
|
||||||
src: [url],
|
src: [url],
|
||||||
html5: true,
|
html5: true,
|
||||||
onplay: () => listeners.onPlay?.(),
|
onplay: () => listeners.play?.(),
|
||||||
onpause: () => listeners.onPause?.(),
|
onpause: () => listeners.pause?.(),
|
||||||
onend: () => listeners.onEnd?.(),
|
onend: () => listeners.end?.(),
|
||||||
onloaderror: () => listeners.onError?.(),
|
onloaderror: () => listeners.error?.(),
|
||||||
onplayerror: () => listeners.onError?.(),
|
onplayerror: () => listeners.error?.(),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user