lib/environment/PathnameEnvironment.js
function PathnameEnvironment() {
  this.onPopState = this.onPopState.bind(this);
  this.useHistoryApi = !!(window.history &&
                          window.history.pushState &&
                          window.history.replaceState);
  Environment.call(this);
}
function PathnameEnvironment() {
  this.onPopState = this.onPopState.bind(this);
  this.useHistoryApi = !!(window.history &&
                          window.history.pushState &&
                          window.history.replaceState);
  Environment.call(this);
}
function PathnameEnvironment ( ) { this . onPopState = this . onPopState . bind ( this ) ; this . useHistoryApi = ! ! ( window . history && window . history . pushState && window . history . replaceState ) ; Environment . call ( this ) ; }
Routing environment which routes by `location.pathname`.
Routing environment which routes by location . pathname .