Permalink
Browse files

start playing when clicking an image

  • Loading branch information...
Roald de Vries
Roald de Vries committed Apr 26, 2012
1 parent 9c6a42c commit 840fd0526fc5bac73f41c0e989711a594224787c
Showing with 41 additions and 4 deletions.
  1. +2 −1 index.html
  2. +39 −3 js/index.js
View
@@ -40,11 +40,12 @@
});
search.appendNext();
}
+ window.startMusicByYearRange = startMusicByYearRange
$(document).ready(function () {
sp = getSpotifyApi(1);
models = sp.require("sp://import/scripts/api/models");
- player = models.player;
+ window.player = models.player;
currentPlaylist = new models.Playlist();
// search and play song
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

0 comments on commit 840fd05

Please sign in to comment.