Skip to content

Instantly share code, notes, and snippets.

@DaveVoyles
Created August 22, 2015 16:20
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 DaveVoyles/2da9666e60ce0863ad9d to your computer and use it in GitHub Desktop.
Save DaveVoyles/2da9666e60ce0863ad9d to your computer and use it in GitHub Desktop.
Object.observe(current,
function (changes){
if (changes[1]!== undefined) {
console.log('Changes: ', changes[1].name );
console.log('Old Val: ', changes[1].oldValue);
}
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment