mirror of
https://github.com/Poniverse/Pony.fm.git
synced 2024-11-30 16:47:59 +01:00
18e41d2af4
Volume Slider Track Uploader Fav list A bunch of other things And stuff.
12 lines
No EOL
292 B
CoffeeScript
12 lines
No EOL
292 B
CoffeeScript
window.pfm.preloaders['favourites-tracks'] = [
|
|
'favourites'
|
|
(favourites) ->
|
|
favourites.fetchTracks(true)
|
|
]
|
|
|
|
angular.module('ponyfm').controller "favourites-tracks", [
|
|
'$scope', 'favourites'
|
|
($scope, favourites) ->
|
|
favourites.fetchTracks().done (res) ->
|
|
$scope.tracks = res.tracks
|
|
] |