-zmotg
Last Updated: February 25, 2016
·
1.268K
· drabiter
Dsc 0105 0

Give model's 'defaults' function, not object

Always wrap it on function.

Backbone.Model.extend({
    defaults: function() {
        // populate here
    }
});
Say Thanks
Respond