Permalink
Browse files

grammar fix

  • Loading branch information...
1 parent 942e350 commit 9a1161d3b33d8950b428a8cf64027159d9dc59f7 @xMartin xMartin committed Nov 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.md
View
2 index.md
@@ -962,7 +962,7 @@ var todo2 = todos.get(2);
console.log(todo2 === myTodo);
```
-Internally `Backbone.Collection` sets array of models enumerated by their `id` property, if model instances happen to have one. Once `collection.get(id)` is called this array is checked for existence of the model instance with the corresponding `id`.
+Internally `Backbone.Collection` sets an array of models enumerated by their `id` property, if model instances happen to have one. Once `collection.get(id)` is called this array is checked for existence of the model instance with the corresponding `id`.
Sometimes you may also want to get a model based on its client id. The client id is a property that Backbone automatically assigns models that have not yet been saved. You can get a model's client id from its `.cid` property.

0 comments on commit 9a1161d

Please sign in to comment.