solr/server/solr-webapp/webapp/js/lib/jquery.sammy.js
function(location, data, callback) {
      if (_isFunction(location) && !data) {
        return this.then(location);
      } else {
        if (!data && this.content) { data = this.content; }
        return this.load(location)
                   .interpolate(data, location)
                   .then(callback);
      }
    }
function(location, data, callback) {
      if (_isFunction(location) && !data) {
        return this.then(location);
      } else {
        if (!data && this.content) { data = this.content; }
        return this.load(location)
                   .interpolate(data, location)
                   .then(callback);
      }
    }
function ( location , data , callback ) { if ( _isFunction ( location ) && ! data ) { return this . then ( location ) ; } else { if ( ! data && this . content ) { data = this . content ; } return this . load ( location ) . interpolate ( data , location ) . then ( callback ) ; } }
`load()` a template and then `interpolate()` it with data.  ### Example  this.get('#/', function() { this.render('mytemplate.template', {name: 'test'}); });
load () a template and then interpolate () it with data . ### Example this . get ( # / function () { this . render ( mytemplate . template { name : test } ) ; } ) ;