diff options
-rw-r--r-- | _posts/2011-01-29-what-is-a-model.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_posts/2011-01-29-what-is-a-model.md b/_posts/2011-01-29-what-is-a-model.md index c917980..560fa57 100644 --- a/_posts/2011-01-29-what-is-a-model.md +++ b/_posts/2011-01-29-what-is-a-model.md @@ -165,7 +165,7 @@ Our model definition shall thus look like; ### Creating a new model -If we wish to create a new user on the server then we will instantiate a new UserModel and call `save`. If the `id` attribute of the model is `null`, Backbone.js will send send of POST request to the server to the urlRoot. +If we wish to create a new user on the server then we will instantiate a new UserModel and call `save`. If the `id` attribute of the model is `null`, Backbone.js will send of POST request to the server to the urlRoot. {% highlight javascript %} var UserModel = Backbone.Model.extend({ |