backbone.epoxy
backbone.epoxy copied to clipboard
Declarative data binding and computed models for Backbone
When a model has computed properties, it's only possible to specify dependencies that are attributes to that model. However, I have a case where it would be useful to do...
The `checked` binding handler is not working for me against array attributes. Obviously, this code has been in production for ages, so perhaps I'm simply missing something, but I really...
Currently, it appears that you can specify bindings using an object (hash) in the view , OR you can specify them via the DOM using the "data-bind" attribute on DOM...
In https://github.com/gmac/backbone.epoxy/blob/master/backbone.epoxy.js#L1387 you check for the length of the triggers array. However it seems as if it only gets initialized with a blank array but nowhere gets set at all?!
This is a result of the change() code [Line 486](https://github.com/gmac/backbone.epoxy/blob/master/backbone.epoxy.js#L486): evt[0] += ' change'; Can we remove this? Currently when listening to to 'change' event you might want to do...
Resolving the following. > Warning: Cannot assign to read only property 'subarray'
Related to the line [486](https://github.com/gmac/backbone.epoxy/blob/a635f5b2088aced1e5d568d97d90a2d69bd8f4b6/backbone.epoxy.js#L486), if I set a computed attribute, the following events are triggered: - `change:myField change` with `(model, value)` from epoxy, - standard backbone `change` with `(model,...
I am binding a text input to a model property. When the value changes, I want to save the changes to the server. I have this part done already. However,...
The current implementation of the `integer` bindingFilter returns `0` for empty strings which is ok. see: https://github.com/gmac/backbone.epoxy/blob/master/backbone.epoxy.js#L962 I want to add a bindingFilter which returns undefined for empty input fields...
I have a view with a computed property that defines a `set` function which returns an object with some properties set. I've bound this to an `` with the declaration...