Skip to content

Commit

Permalink
Update js/lastcloud.js
Browse files Browse the repository at this point in the history
s/False/false/

Added jshint declaration
  • Loading branch information
acdha committed Sep 10, 2012
1 parent 66455fe commit d5a7317
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion js/lastcloud.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/*jshint forin:true, noarg:true, noempty:true, eqeqeq:true, bitwise:true, undef:true, unused:true, curly:true, browser:true, devel:true, jquery:true, indent:4, maxerr:50, strict:false, white:true */
/*global SC:true, Mustache:true */

function init() {
SC.initialize({'client_id': '000d9ae8898f80c0fe2ace5bd9e8f58e'});
$('input[type="submit"]').click(lastfmArtists);
Expand All @@ -9,7 +12,7 @@ function lastfmArtists() {
var username = $('input[name="username"]').val();
var url = "http://ws.audioscrobbler.com/2.0/?method=library.getartists&format=json&limit=100&api_key=" + key + "&user=" + username;
$.ajax({url: url, dataType: "jsonp", success: soundcloudUsers});
return False;
return false;
}

function soundcloudUsers(lastfmResponse) {
Expand Down

0 comments on commit d5a7317

Please sign in to comment.