backbone.modelbinding
backbone.modelbinding copied to clipboard
Do not bind if attribute_name is undefined
So afeld/backbone-nested doesn't crushes…
If using backbone.modelbind + backbone-nested and mix StandardBinding
with DataBindBinding
on input fields - I've got an error TypeError: 'undefined' is not an object (evaluating 'attrPath[0]')
inside of backbone-nested. Caused by attempt to bind with undefined attribute_name
in StandardBinding. This is simple fix for that.