benchmarks/scenarios/ember.js
function () {
      var history = _emberMetalProperty_get.get(this, 'history') || window.history;
      _emberMetalProperty_set.set(this, 'history', history);

      if (history && 'state' in history) {
        this.supportsHistory = true;
      }

      this.replaceState(this.formatURL(this.getURL()));
    }
function () {
      var history = _emberMetalProperty_get.get(this, 'history') || window.history;
      _emberMetalProperty_set.set(this, 'history', history);

      if (history && 'state' in history) {
        this.supportsHistory = true;
      }

      this.replaceState(this.formatURL(this.getURL()));
    }
function ( ) { var history = _emberMetalProperty_get . get ( this , 'history' ) || window . history ; _emberMetalProperty_set . set ( this , 'history' , history ) ; if ( history && 'state' in history ) { this . supportsHistory = true ; } this . replaceState ( this . formatURL ( this . getURL ( ) ) ) ; }
Used to set state on first call to setURL
@private
@method initState
Used to set state on first call to setURL