gmac / backbone.epoxy

Declarative data binding and computed models for Backbone
http://epoxyjs.org
MIT License
615 stars 89 forks source link

Fixed integration with backbone-relational plugin #120

Closed antonyhell closed 9 years ago

antonyhell commented 9 years ago

Backbone-relational can define the way how to serialize model into JSON using relations. So by using method "toJSON" instead of accessing attributes model's property it's impossible to access some relations (e.g. if relation has includeInJSON : 'id').

antonyhell commented 9 years ago

Sorry, I used old fork. I've created new pull request #121