build/web/c0.js
function withQuery(path, query) {
    var existingQuery = PathUtils.extractQuery(path);

    if (existingQuery) query = query ? assign(existingQuery, query) : existingQuery;

    var queryString = qs.stringify(query, { arrayFormat: 'brackets' });

    if (queryString) {
      return PathUtils.withoutQuery(path) + '?' + queryString;
    }return PathUtils.withoutQuery(path);
  }
function withQuery(path, query) {
    var existingQuery = PathUtils.extractQuery(path);

    if (existingQuery) query = query ? assign(existingQuery, query) : existingQuery;

    var queryString = qs.stringify(query, { arrayFormat: 'brackets' });

    if (queryString) {
      return PathUtils.withoutQuery(path) + '?' + queryString;
    }return PathUtils.withoutQuery(path);
  }
function withQuery ( path , query ) { var existingQuery = PathUtils . extractQuery ( path ) ; if ( existingQuery ) query = query ? assign ( existingQuery , query ) : existingQuery ; var queryString = qs . stringify ( query , { arrayFormat : 'brackets' } ) ; if ( queryString ) { return PathUtils . withoutQuery ( path ) + '?' + queryString ; } return PathUtils . withoutQuery ( path ) ; }
Returns a version of the given path with the parameters in the given
query merged into the query string.
Returns a version of the given path with the parameters in the given query merged into the query string .