diff --git a/README.md b/README.md index 8c3fac3..58fdf21 100644 --- a/README.md +++ b/README.md @@ -150,8 +150,8 @@ Cretes and adds a new model to the collection. The newly created model is returned, along with a `id` property (uniquely generated by Firebase). ``` js -var newModel = Messages.create({bar: "foo"}); -Messages.get(newModel.id); +var model = Messages.create({bar: "foo"}); +Messages.get(model.id); ``` Backbone.Firebase.Model