pathable / supermodel

Supermodel - Minimal Model Tracking for Backbonejs
http://pathable.github.io/supermodel
MIT License
229 stars 36 forks source link

supermodel-jsonify #72

Open nachocodoner opened 8 years ago

nachocodoner commented 8 years ago

Hi everyone!

This time, I bring you a Supermodel extension I wanted to include (https://github.com/pathable/supermodel/pull/67) but I skipped since it was approached by other contributor (https://github.com/pathable/supermodel/pull/61).

The extension allows you to jsonify your models and their relationships by handling it through a configuration object. This is an extended version of what there is implemented right now, but it has proved to be useful in my work with Supermodel. I share with you in case you find it helpful as well.

https://github.com/Gywem/backbone-jsonify

Your should include Supermodel version. The examples with Supermodel are approached in the test units. Enjoy it!