Skip to content
This repository has been archived by the owner on May 8, 2021. It is now read-only.

Commit

Permalink
fix minor doc typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dguzzo committed Oct 10, 2013
1 parent edb98f9 commit e8c1e97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ When a view class is created with `extend` that has `name` property it will auto

Any template with the same name will also automatically be set as the `template` property, in this case `templates/todos/index.handlebars` will be automatically set as the `template` property.

The `Application` object also serves as our root view and it's `el` is already attached to the page. It is an instance of `Thorax.LayoutView` which is meant to display a single view at a time and has a `setView` method. In `js/routers/todos.js` we can call:
The `Application` object also serves as our root view and its `el` is already attached to the page. It is an instance of `Thorax.LayoutView` which is meant to display a single view at a time and has a `setView` method. In `js/routers/todos.js` we can call:

index: function() {
var view = new Application.Views["todos/index"]({});
Expand Down

0 comments on commit e8c1e97

Please sign in to comment.