src/http/get-index/ssr.js
/**
 * Parses `selector`, optionally with the passed `options`.
 *
 * @param selector Selector to parse.
 * @param options Options for parsing.
 * @returns Returns a two-dimensional array.
 * The first dimension represents selectors separated by commas (eg. `sub1, sub2`),
 * the second contains the relevant tokens for that selector.
 */
Parses `selector`, optionally with the passed `options`.
@param selector Selector to parse.
@param options Options for parsing.
@returns Returns a two-dimensional array.
The first dimension represents selectors separated by commas ,
the second contains the relevant tokens for that selector.
Parses ` selector ` optionally with the passed ` options ` . @param selector Selector to parse . @param options Options for parsing . @returns Returns a two - dimensional array . The first dimension represents selectors separated by commas the second contains the relevant tokens for that selector .
function parse$5(selector, options) {
  var subselects = [];
  var endIndex = parseSelector(subselects, "" + selector, options, 0);
  if (endIndex < selector.length) {
    throw new Error("Unmatched selector: " + selector.slice(endIndex));
  }
  return subselects;
}
function parse$5 ( selector , options ) { var subselects = [ ] ; var endIndex = parseSelector ( subselects , "" + selector , options , 0 ) ; if ( endIndex < selector . length ) { throw new Error ( "Unmatched selector: " + selector . slice ( endIndex ) ) ; } return subselects ; }
Parses `selector`, optionally with the passed `options`.
Parses ` selector ` optionally with the passed ` options ` .