Skip to content

Instantly share code, notes, and snippets.

@linusthe3rd
Created June 17, 2014 13:16
Show Gist options
  • 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