solr/server/solr-webapp/webapp/js/lib/jquery.sammy.js
function(new_proxy) {
      var original_proxy = this._location_proxy;
      this._location_proxy = new_proxy;
      if (this.isRunning()) {
        if (original_proxy) {
          // if there is already a location proxy, unbind it.
          original_proxy.unbind();
        }
        this._location_proxy.bind();
      }
    }
function(new_proxy) {
      var original_proxy = this._location_proxy;
      this._location_proxy = new_proxy;
      if (this.isRunning()) {
        if (original_proxy) {
          // if there is already a location proxy, unbind it.
          original_proxy.unbind();
        }
        this._location_proxy.bind();
      }
    }
Sets the location proxy for the current app. By default this is set to a new `Sammy.HashLocationProxy` on initialization. However, you can set the location_proxy inside you're app function to give your app a custom location mechanism. See `Sammy.HashLocationProxy` and `Sammy.DataLocationProxy` for examples.  `setLocationProxy()` takes an initialized location proxy.  ### Example  // to bind to data instead of the default hash; var app = $.sammy(function() { this.setLocationProxy(new Sammy.DataLocationProxy(this)); });