src/http/get-index/ssr.js
/**
   * Parses the data, returns the resulting document.
   *
   * @param data The data that should be parsed.
   * @param options Optional options for the parser and DOM builder.
   */
Parses the data, returns the resulting document.
@param data The data that should be parsed.
@param options Optional options for the parser and DOM builder.
Parses the data returns the resulting document . @param data The data that should be parsed . @param options Optional options for the parser and DOM builder .
function parseDocument(data, options) {
    var handler = new domhandler_1.DomHandler(undefined, options);
    new Parser_1.Parser(handler, options).end(data);
    return handler.root;
  }
function parseDocument ( data , options ) { var handler = new domhandler_1 . DomHandler ( undefined , options ) ; new Parser_1 . Parser ( handler , options ) . end ( data ) ; return handler . root ; }
Parses the data, returns the resulting document.
Parses the data returns the resulting document .