Backbone.Mutators icon indicating copy to clipboard operation
Backbone.Mutators copied to clipboard

Backbone plugin to override getters and setters with logic

Results 6 Backbone.Mutators issues
Sort by recently updated
recently updated
newest added

Since it's primarily use is a utility library and local tests show that the specs still pass

``` Test = Backbone.Model.extend defaults: name: '' mutators: name: -> @get('name') + ' mutated' test = new Test #> Maximum call stack size exceeded ```

bug

I've faced the following issue while trying to integrate Backbone.Mutators with Backbone.Relational which is used to build client side relations and helps to serialize/deserialize data into corresponding json/models. For example...

enhancement
question

Consider `model.set({key1: val1, key2: val2});` In traditional Backbone, this will set both keys to their respective values and then fire `change:key1` and `change:key2` events. In other words, Backbone guarantees the...

bug

hey @asciidisco, i may be missing something, but it doesn't look like mutators supports dependent fields, right? is there any good reason against this? if so, would you recommend any...

bug

I have the following problem when rending column values: total: function() { return this.get('baseprice') + this.get('workPrice'); --> 30 } but when i do this.set('baseprice', 200), total value stills returns '30'

bug