nl_tokens: 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 .
pl_tokens: function ( ) { var template = this . getTemplate ( ) ; // Allow template-less item views if ( template === <mask> ) { 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 ; }