chore: remove obsolete comment

This commit is contained in:
Phan An 2022-05-23 09:58:37 +02:00
parent 89f76d102b
commit fb2792e80b
No known key found for this signature in database
GPG key ID: A81E4477F0BB6FDC
3 changed files with 0 additions and 12 deletions

View file

@ -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'))

View file

@ -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'

View file

@ -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<Song[]>, close: Closure) => {
const queueSongsAfterCurrent = () => {
queueStore.queueAfterCurrent(songs.value)