function() {
      var template = this.getTemplate();
  
      // Allow template-less item views
      if (template === false) {
        return;
      }
  
      if (!template) {
        throw new Marionette.Error({
          name: 'UndefinedTemplateError',
          message: 'Cannot render the template since it is null or undefined.'
        });
      }
  
      // Add in entity data and template helpers
      var data = this.mixinTemplateHelpers(this.serializeData());
  
      // Render and add to el
      var html = Marionette.Renderer.render(template, data, this);
      this.attachElContent(html);
  
      return this;
    }
function() {
      var template = this.getTemplate();
  
      
      if (template === false) {
        return;
      }
  
      if (!template) {
        throw new Marionette.Error({
          name: 'UndefinedTemplateError',
          message: 'Cannot render the template since it is null or undefined.'
        });
      }
  
      
      var data = this.mixinTemplateHelpers(this.serializeData());
  
      
      var html = Marionette.Renderer.render(template, data, this);
      this.attachElContent(html);
  
      return this;
    }
function ( ) { var template = this . getTemplate ( ) ; // Allow template-less item views if ( template === false ) { return ; } if ( ! template ) { throw new Marionette . Error ( { name : 'UndefinedTemplateError' , message : 'Cannot render the template since it is null or undefined.' } ) ; } // Add in entity data and template helpers var data = this . mixinTemplateHelpers ( this . serializeData ( ) ) ; // Render and add to el var html = Marionette . Renderer . render ( template , data , this ) ; this . attachElContent ( html ) ; return this ; }
Internal method to render the template with the serialized data and template helpers via the `Marionette.Renderer` object. Throws an `UndefinedTemplateError` error if the template is any falsely value but literal `false`.
Internal method to render the template with the serialized data and template helpers via the Marionette . Renderer object . Throws an UndefinedTemplateError error if the template is any falsely value but literal false .