benchmarks/scenarios/ember.js
function (oldInfos, newInfos, transition) {
      _emberMetalRun_loop.default.once(this, this.trigger, 'willTransition', transition);

      if (_emberMetalProperty_get.get(this, 'namespace').LOG_TRANSITIONS) {
        _emberMetalLogger.default.log('Preparing to transition from \'' + EmberRouter._routePath(oldInfos) + '\' to \'' + EmberRouter._routePath(newInfos) + '\'');
      }
    }
function (oldInfos, newInfos, transition) {
      _emberMetalRun_loop.default.once(this, this.trigger, 'willTransition', transition);

      if (_emberMetalProperty_get.get(this, 'namespace').LOG_TRANSITIONS) {
        _emberMetalLogger.default.log('Preparing to transition from \'' + EmberRouter._routePath(oldInfos) + '\' to \'' + EmberRouter._routePath(newInfos) + '\'');
      }
    }
function ( oldInfos , newInfos , transition ) { _emberMetalRun_loop . default . once ( this , this . trigger , 'willTransition' , transition ) ; if ( _emberMetalProperty_get . get ( this , 'namespace' ) . LOG_TRANSITIONS ) { _emberMetalLogger . default . log ( 'Preparing to transition from \'' + EmberRouter . _routePath ( oldInfos ) + '\' to \'' + EmberRouter . _routePath ( newInfos ) + '\'' ) ; } }
Handles notifying any listeners of an impending URL
change.
Triggers the router level `willTransition` hook.
@method willTransition
@public
@since 1.11.0
Handles notifying any listeners of an impending URL change . Triggers the router level willTransition hook .