Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
azproduction committed Oct 10, 2014
1 parent 534d751 commit 7738135
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,16 @@ If you are using rivets-backbone-adapter with bower:

In this release Adapter no longer gets/gets properties on Collections or any other non-Model objects.
Old adapter resolves `rv-smth="collection:models"` as javascript code `collection.models`. New one will return `undefined`.
The same is for setting properties on collection. To avoid this issue please use native rivets.js `.`-adaptor.
Use `rv-smth="collection.models"` or `rv-smth=".models"` if you are passing collection as root models object.
The same is for setting properties on collection.

To avoid this issue please use native rivets.js `.`-adaptor. Eg `rv-smth="collection.models"` or `rv-smth=".models"` if you are passing collection as root models object.

## Features

* Nested models support `rv-each-item="model:subModel:subSubModel:collection"`
* `*`-keypaths (attributes accessor) `rv-value="model:* | json"` or `rv-text="model.format < :*"`
* Nested models support
* `rv-each-item="model:subModel:subSubModel:collection"`
* `*`-keypaths (attributes accessor)
* `rv-value="model:* | json"`
* `rv-text="model.format < :*"`

[See example](http://azproduction.ru/rivets-backbone-adapter/example/index.html) and [code](example/index.html)

0 comments on commit 7738135

Please sign in to comment.