Merge branch 'develop' of bitbucket.org:jamkazam/jam-cloud into develop

This commit is contained in:
Seth Call 2014-02-11 17:26:30 +00:00
commit a732d2a191
1 changed files with 2 additions and 1 deletions

View File

@ -179,6 +179,7 @@
var obj = { var obj = {
method: 'feed', method: 'feed',
link: signupUrl, link: signupUrl,
// link: signupUrl.replace(/localhost:3000/,'www.jamkazam.com'),
picture: 'http://jamkazam.com/assets/logo.png', picture: 'http://jamkazam.com/assets/logo.png',
name: 'Join me on JamKazam', name: 'Join me on JamKazam',
caption: 'Play live music in real-time sessions with others over the Internet, as if in the same room.', caption: 'Play live music in real-time sessions with others over the Internet, as if in the same room.',
@ -188,7 +189,7 @@
console.log("facebook feed options:", obj); console.log("facebook feed options:", obj);
function fbFeedDialogCallback(response) { function fbFeedDialogCallback(response) {
//console.log("feedback dialog closed: " + response['post_id']) //console.log("feedback dialog closed: " + response['post_id'])
if (response['post_id']) { if (response && response['post_id']) {
context.JK.GA.trackServiceInvitations(context.JK.GA.InvitationTypes.facebook, 1); context.JK.GA.trackServiceInvitations(context.JK.GA.InvitationTypes.facebook, 1);
} }
} }