Skip to content

Instantly share code, notes, and snippets.

@phynet
Created November 11, 2015 07:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phynet/05ce86b253bb8267328f to your computer and use it in GitHub Desktop.
Save phynet/05ce86b253bb8267328f to your computer and use it in GitHub Desktop.
To know which column/property has been changed in beforeSave in PARSE
for (var i in userPoints.dirtyKeys()) {
var dirtyKey = userPoints.dirtyKeys()[i];
alert("DIRTY KEY val " + dirtyKey);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment