benchmarks/scenarios/ember.js
function (leafRouteName) {
      if (this._qpCache[leafRouteName]) {
        return this._qpCache[leafRouteName];
      }

      var map = {};
      var qps = [];
      this._qpCache[leafRouteName] = {
        map: map,
        qps: qps
      };

      var routerjs = this.router;
      var recogHandlerInfos = routerjs.recognizer.handlersFor(leafRouteName);

      for (var i = 0, len = recogHandlerInfos.length; i < len; ++i) {
        var recogHandler = recogHandlerInfos[i];
        var route = routerjs.getHandler(recogHandler.handler);
        var qpMeta = _emberMetalProperty_get.get(route, '_qp');

        if (!qpMeta) {
          continue;
        }

        _emberMetalAssign.default(map, qpMeta.map);
        qps.push.apply(qps, qpMeta.qps);
      }

      return {
        qps: qps,
        map: map
      };
    }
function (leafRouteName) {
      if (this._qpCache[leafRouteName]) {
        return this._qpCache[leafRouteName];
      }

      var map = {};
      var qps = [];
      this._qpCache[leafRouteName] = {
        map: map,
        qps: qps
      };

      var routerjs = this.router;
      var recogHandlerInfos = routerjs.recognizer.handlersFor(leafRouteName);

      for (var i = 0, len = recogHandlerInfos.length; i < len; ++i) {
        var recogHandler = recogHandlerInfos[i];
        var route = routerjs.getHandler(recogHandler.handler);
        var qpMeta = _emberMetalProperty_get.get(route, '_qp');

        if (!qpMeta) {
          continue;
        }

        _emberMetalAssign.default(map, qpMeta.map);
        qps.push.apply(qps, qpMeta.qps);
      }

      return {
        qps: qps,
        map: map
      };
    }
function ( leafRouteName ) { if ( this . _qpCache [ leafRouteName ] ) { return this . _qpCache [ leafRouteName ] ; } var map = { } ; var qps = [ ] ; this . _qpCache [ leafRouteName ] = { map : map , qps : qps } ; var routerjs = this . router ; var recogHandlerInfos = routerjs . recognizer . handlersFor ( leafRouteName ) ; for ( var i = 0 , len = recogHandlerInfos . length ; i < len ; ++ i ) { var recogHandler = recogHandlerInfos [ i ] ; var route = routerjs . getHandler ( recogHandler . handler ) ; var qpMeta = _emberMetalProperty_get . get ( route , '_qp' ) ; if ( ! qpMeta ) { continue ; } _emberMetalAssign . default ( map , qpMeta . map ) ; qps . push . apply ( qps , qpMeta . qps ) ; } return { qps : qps , map : map } ; }
Returns a merged query params meta object for a given route.
Useful for asking a route what its known query params are.
@private
Returns a merged query params meta object for a given route . Useful for asking a route what its known query params are .