From 35e3eb3383316e306f73fc35cc205b3ea62c984c Mon Sep 17 00:00:00 2001 From: Anant Narayanan Date: Fri, 22 Nov 2013 20:34:08 +0530 Subject: [PATCH] Keyword `new` interpreted specially, remove from docs --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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