code: function() {
      var template = this.model.get('template') ?
        this.model.get('template') :
        cdb.templates.getTemplate(this._getModelTemplate());
  
      if(typeof(template) !== 'function') {
        this.template = new cdb.core.Template({
          template: template,
          type: this.model.get('template_type') || 'mustache'
        }).asFunction()
      } else {
        this.template = template
      }
  
      this.render();
    }
docs: Compile template of the infowindow