Closed virajsanghvi closed 12 years ago
It is behaving correctly to how it is implemented. Since the contents of a Backbone.Model
instance is arbitrary, there is no default interface that can be inferred.
Closing this issue as my question was answered. Thanks!
I'm trying to use this library to sync between objects (not the dom), i.e. Backbone.Model -> Backbone.Model, or Backbone.Model -> Plain Object. In this case, I really just want one model to stay in sync with another.
Unfortunately, I seem to always get Interface not detected errors. It seems like detectInterface and others methods aren't defined on the backbone-model and object hooks.
I'm guessing this isn't the intended use of this library?
Some example code to better illustrate what I'm trying to do:
The main reason I'm trying to do this is so I can create a bridge from a Backbone.Model to an object that jsViews could use.
Thanks for your help!