Created
June 14, 2012 19:02
-
-
Save mayhem/2932240 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
models.Album.fromURI(album_uri, function(album) | |
{ | |
console.log(album.tracks[0].uri + " " + album_uri); | |
track = models.Track.fromURI(album.tracks[0].uri); | |
playerView = new views.Player(); | |
playlist = new models.Playlist(); | |
playlist.add(track); | |
playerView.track = track; | |
playerView.context = playlist; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment