examples/map/js/backbone.marionette.js
function(){
    this.isClosed = false;

    this.triggerMethod("before:render", this);
    this.triggerMethod("item:before:render", this);

    var data = this.serializeData();
    data = this.mixinTemplateHelpers(data);

    var template = this.getTemplate();
    var html = Marionette.Renderer.render(template, data);

    this.$el.html(html);
    this.bindUIElements();

    this.triggerMethod("render", this);
    this.triggerMethod("item:rendered", this);

    return this;
  }
function(){
    this.isClosed = false;

    this.triggerMethod("before:render", this);
    this.triggerMethod("item:before:render", this);

    var data = this.serializeData();
    data = this.mixinTemplateHelpers(data);

    var template = this.getTemplate();
    var html = Marionette.Renderer.render(template, data);

    this.$el.html(html);
    this.bindUIElements();

    this.triggerMethod("render", this);
    this.triggerMethod("item:rendered", this);

    return this;
  }
function ( ) { this . isClosed = false ; this . triggerMethod ( "before:render" , this ) ; this . triggerMethod ( "item:before:render" , this ) ; var data = this . serializeData ( ) ; data = this . mixinTemplateHelpers ( data ) ; var template = this . getTemplate ( ) ; var html = Marionette . Renderer . render ( template , data ) ; this . $el . html ( html ) ; this . bindUIElements ( ) ; this . triggerMethod ( "render" , this ) ; this . triggerMethod ( "item:rendered" , this ) ; return this ; }
Render the view, defaulting to underscore.js templates. You can override this in your view definition to provide a very specific rendering for your view. In general, though, you should override the `Marionette.Renderer` object to change how Marionette renders views.
Render the view defaulting to underscore . js templates . You can override this in your view definition to provide a very specific rendering for your view . In general though you should override the Marionette . Renderer object to change how Marionette renders views .