Created
August 16, 2013 20:21
-
-
Save auggernaut/6253210 to your computer and use it in GitHub Desktop.
Update Parse.User
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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