Permalink
Browse files

Use different SoundCloud IDs depending upon the environment.

  • Loading branch information...
1 parent ca63d04 commit e7bb9462f3eb0247d70cf510a43f6b03a254b8b6 @jeresig jeresig committed Apr 28, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 js/utils.js
View
@@ -424,7 +424,9 @@ var connectAudio = function( callback ) {
} else {
$.getScript( "http://connect.soundcloud.com/sdk.js", function() {
SC.initialize({
- client_id: "82ff867e7207d75bc8bbd3d281d74bf4",
+ client_id: window.KA_IS_DEV ?
+ "82ff867e7207d75bc8bbd3d281d74bf4" :
+ "3f0c48a9e159d0610cae89b55f39751e",
redirect_uri: window.location.href.replace(/labs\/.*$/, "labs/callback")
});

0 comments on commit e7bb946

Please sign in to comment.