demo/amd/rjs/output/unified/marionette-build.js
function() {
      var data = {};
  
      if (this.model) {
        data = _.partial(this.serializeModel, this.model).apply(this, arguments);
      }
  
      return data;
    }
function() {
      var data = {};
  
      if (this.model) {
        data = _.partial(this.serializeModel, this.model).apply(this, arguments);
      }
  
      return data;
    }
Serialize the model for the view. You can override the `serializeData` method in your own view definition, to provide custom serialization for your view's data.