function historyResult(info, results) {
  waitForAppUpgrade().then(function() {
    const app = /** @type {HistoryAppElement} */ ($('history-app'));
    app.historyResult(info, results);
    document.body.classList.remove('loading');

    if (!window.resultsRendered) {
      window.resultsRendered = true;
      app.onFirstRender();
    }
  });
}
/**
 * Our history system calls this function with results from searches.
 * @param {HistoryQuery} info An object containing information about the query.
 * @param {!Array<HistoryEntry>} results A list of results.
 */
Our history system calls this function with results from searches.
@param {HistoryQuery} info An object containing information about the query.
@param {!Array} results A list of results.
Our history system calls this function with results from searches . @param { HistoryQuery } info An object containing information about the query . @param { !Array } results A list of results .
function historyResult(info, results) {
  waitForAppUpgrade().then(function() {
    const app =  ($('history-app'));
    app.historyResult(info, results);
    document.body.classList.remove('loading');
    if (!window.resultsRendered) {
      window.resultsRendered = true;
      app.onFirstRender();
    }
  });
}
function historyResult ( info , results ) { waitForAppUpgrade ( ) . then ( function ( ) { const app = ( $ ( 'history-app' ) ) ; app . historyResult ( info , results ) ; document . body . classList . remove ( 'loading' ) ; if ( ! window . resultsRendered ) { window . resultsRendered = true ; app . onFirstRender ( ) ; } } ) ; }
Our history system calls this function with results from searches.
Our history system calls this function with results from searches .
/** @type {HistoryAppElement} */