gmac / backbone.epoxy

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

Debugging the current binding context #89

Closed adamyonk closed 10 years ago

adamyonk commented 10 years ago

Is there a way to get at an Epoxy.View's binding context for debugging? I'm having trouble finding a good way to look at what's available in there. Thanks!

gmac commented 10 years ago

Yep... while it's not formally documented, binding contexts are retained on view instances as view._c. You can also review all constructed bindings using the view._b array.