installed the following dependencies (and removed them from vendor folder): lodash, jquery, toastify-js; update COMPILE-UI.md with shorthand for npm install and "Other" section
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import _ from 'lodash'
|
||||
|
||||
import { socket } from '../socket.js'
|
||||
import Downloads from '../downloads.js'
|
||||
import QualityModal from '../quality-modal.js'
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import _ from 'lodash'
|
||||
|
||||
import { socket } from '../socket.js'
|
||||
import { albumView, artistView } from '../tabs.js'
|
||||
import Downloads from '../downloads.js'
|
||||
@@ -50,7 +52,8 @@ const TracklistTab = new Vue({
|
||||
var selected = []
|
||||
if (this.body) {
|
||||
this.body.forEach(item => {
|
||||
if (item.type == 'track' && item.selected) selected.push(this.type == "Spotify Playlist" ? item.uri : item.link)
|
||||
if (item.type == 'track' && item.selected)
|
||||
selected.push(this.type == 'Spotify Playlist' ? item.uri : item.link)
|
||||
})
|
||||
}
|
||||
return selected.join(';')
|
||||
@@ -115,8 +118,10 @@ const TracklistTab = new Vue({
|
||||
this.type = 'Spotify Playlist'
|
||||
this.link = data.uri
|
||||
this.title = data.name
|
||||
this.image = data.images.length ? data.images[0].url : "https://e-cdns-images.dzcdn.net/images/cover/d41d8cd98f00b204e9800998ecf8427e/1000x1000-000000-80-0-0.jpg"
|
||||
this.release_date = ""
|
||||
this.image = data.images.length
|
||||
? data.images[0].url
|
||||
: 'https://e-cdns-images.dzcdn.net/images/cover/d41d8cd98f00b204e9800998ecf8427e/1000x1000-000000-80-0-0.jpg'
|
||||
this.release_date = ''
|
||||
this.metadata = `by ${data.owner.display_name} • ${data.tracks.length} songs`
|
||||
this.head = [
|
||||
{ title: '<i class="material-icons">music_note</i>', width: '24px' },
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import $ from 'jquery'
|
||||
import { socket } from './socket.js'
|
||||
import { toast } from './toasts.js'
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
import Toastify from 'toastify-js'
|
||||
import $ from 'jquery'
|
||||
|
||||
import { socket } from './socket.js'
|
||||
|
||||
let toastsWithId = {}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import $ from 'jquery'
|
||||
|
||||
/* ===== Globals ====== */
|
||||
window.preview_max_volume = 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user