whole_func_string: 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();
        }
      }
func_code_string: 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();
        }
      }
func_documentation_string: 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)); });