demo/amd/rjs/output/unified/trailing-build.js
function() {
      var path = this.decodeFragment(
        this.location.pathname + this.getSearch()
      ).slice(this.root.length - 1);
      return path.charAt(0) === '/' ? path.slice(1) : path;
    }
function() {
      var path = this.decodeFragment(
        this.location.pathname + this.getSearch()
      ).slice(this.root.length - 1);
      return path.charAt(0) === '/' ? path.slice(1) : path;
    }
function ( ) { var path = this . decodeFragment ( this . location . pathname + this . getSearch ( ) ) . slice ( this . root . length - 1 ) ; return path . charAt ( 0 ) === '/' ? path . slice ( 1 ) : path ; }
Get the pathname and search params, without the root.
Get the pathname and search params without the root .