Skip to content

Instantly share code, notes, and snippets.

@linusthe3rd
Created June 17, 2014 13:16
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 linusthe3rd/6b7be0fc7db361fc998d to your computer and use it in GitHub Desktop.
Save linusthe3rd/6b7be0fc7db361fc998d to your computer and use it in GitHub Desktop.
merge(myModel, newData);
// myModel's new value:
// {
// "foo": "newValue", // the "foo" attribute has a new value
// "bar": "baz"
// }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment