Permalink
Browse files

Fixed a few typos in Selectable#select and Selectable#deselect

  • Loading branch information...
1 parent d674562 commit 8f7407a0ef1730655aaaa62f7b87b5d83796ffab @liammclennan liammclennan committed May 25, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 readme.md
View
@@ -41,7 +41,7 @@ The following methods are included in the `Selectable` object
#### Selectable#select
Select a model, setting the model's `selected` attribute to true and
-triggering a "selected" event.
+triggering a "select" event.
```js
var myModel = new SelectableModel();
@@ -55,8 +55,8 @@ myModel.selected; //=> true
```
#### Selectable#deselect
-Select a model, setting the model's `selected` attribute to true and
-triggering a "selected" event.
+Deselect a model, setting the model's `selected` attribute to false and
+triggering a "deselect" event.
```js
var myModel = new SelectableModel();
@@ -69,7 +69,7 @@ myModel.on("deselect", function(){
myModel.select();
myModel.deselect(); //=> logs "I'm no longer selected!";
-myModel.selected; //=> true
+myModel.selected; //=> false
```
#### Selectable#toggleSelected

0 comments on commit 8f7407a

Please sign in to comment.