derickbailey/backbone.modelbinding — Issue #36: Let Bind Attribute Name ("data-bind") Be Configurable
Author: ronadams
Created: 2011-10-28 22:30:10+00:00
State: open

I'm migrating our current app from Knockout to Backbone and I'm using the modelbinding plugin to give me some of the nice sugar that Knockout provided OOTB. In order for my code base to be backward compatible I need to reserve the data-bind attribute for Knockout while we complete the migration. To get around this, I edited the modelbinding.js file to change the attr used from 'data-bind' to 'data-bind-bb'. It would be nice for people like me if the attr name used by modelbinding was configurable.

Thanks for the plugin!.....this was the one thing that was lacking in backbone that I really wanted/had to have.