code: function(fragment, forcePushState) {
        if (Parse._isNullOrUndefined(fragment)) {
          if (this._hasPushState || forcePushState) {
            fragment = window.location.pathname;
            var search = window.location.search;
            if (search) {
              fragment += search;
            }
          } else {
            fragment = this.getHash();
          }
        }
        if (!fragment.indexOf(this.options.root)) {
          fragment = fragment.substr(this.options.root.length);
        }
        return fragment.replace(routeStripper, '');
      }
docs: Get the cross-browser normalized URL fragment, either from the URL, the hash, or the override.