Last Updated: February 25, 2016
·
1.445K
· drabiter

Give model's 'defaults' function, not object

Always wrap it on function.

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