added v3continuous
This commit is contained in:
parent
cce9b3b3a4
commit
c8be288c66
4 changed files with 29 additions and 79 deletions
|
@ -13,19 +13,6 @@ const MusicKitObjects = {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
const MusicKitTools = {
|
||||
getHeader() {
|
||||
return new Headers({
|
||||
Authorization: 'Bearer ' + MusicKit.getInstance().developerToken,
|
||||
Accept: 'application/json',
|
||||
'Content-Type': 'application/json',
|
||||
'Music-User-Token': '' + MusicKit.getInstance().musicUserToken
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// limit an array to a certain number of items
|
||||
Array.prototype.limit = function (n) {
|
||||
return this.slice(0, n);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue