code: function(params) {
        var t = this, text = t.get('text'), compiled = t.get('compiled');
  
        // Convert parameters to JS object if they're a backbone model
        if (params instanceof Backbone.Model) {
          params = params.toJSON();
        }
  
        // Compile the template if necessary
        if (!compiled) {
          compiled = t.compile();
        }
  
        // Apply the template
        return compiled(params);
      }
docs: Apply the parameters to the template
  
  This accepts an object and returns the template with the parameters
  applied.
  
  @method apply
  @param params {Object or Backbone.Model} Parameters to apply to the template
  @return {String} The template text with parameters applied