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

Give model's 'defaults' function, not object

Always wrap it on function.

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