diff --git a/resources/assets/js/composables/useInfiniteScroll.ts b/resources/assets/js/composables/useInfiniteScroll.ts index b1e77bad..332c3919 100644 --- a/resources/assets/js/composables/useInfiniteScroll.ts +++ b/resources/assets/js/composables/useInfiniteScroll.ts @@ -1,10 +1,5 @@ import { defineAsyncComponent, ref } from 'vue' -/** - * Add an "infinite scroll" functionality to any component using this mixin. - * Such a component should have a `scrolling` method bound to `scroll` event on - * the wrapper element: @scroll="scrolling" - */ export const useInfiniteScroll = (perPage = 30) => { const ToTopButton = defineAsyncComponent(() => import('@/components/ui/BtnScrollToTop.vue')) diff --git a/resources/assets/js/composables/useSongList.ts b/resources/assets/js/composables/useSongList.ts index b0649071..3c3a7cd9 100644 --- a/resources/assets/js/composables/useSongList.ts +++ b/resources/assets/js/composables/useSongList.ts @@ -1,6 +1,3 @@ -/** - * Add necessary functionalities into a view that contains a song-list component. - */ import { ComponentInternalInstance, computed, getCurrentInstance, reactive, Ref, ref } from 'vue' import isMobile from 'ismobilejs' diff --git a/resources/assets/js/composables/useSongMenuMethods.ts b/resources/assets/js/composables/useSongMenuMethods.ts index 15b692ec..833902c1 100644 --- a/resources/assets/js/composables/useSongMenuMethods.ts +++ b/resources/assets/js/composables/useSongMenuMethods.ts @@ -2,10 +2,6 @@ import { Ref } from 'vue' import { favoriteStore, playlistStore, queueStore } from '@/stores' import { alerts, pluralize } from '@/utils' -/** - * Includes the methods trigger-able on a song (context) menu. - * Each component including this mixin must have a `songs` array as either data, prop, or computed. - */ export const useSongMenuMethods = (songs: Ref, close: Closure) => { const queueSongsAfterCurrent = () => { queueStore.queueAfterCurrent(songs.value)