Skip to content

Instantly share code, notes, and snippets.

@auggernaut
Created August 16, 2013 20:21
Show Gist options
  • Save auggernaut/6253210 to your computer and use it in GitHub Desktop.
Save auggernaut/6253210 to your computer and use it in GitHub Desktop.
Update Parse.User
user.set({stardust: res});
user.save(null, {
success: function(){
StarDust.save("user", user);
window.location.href = "#profile";
},
error: function(){
$("#register-message").show().html("Error updating parse.");
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment