function refreshLogTable(tableId, data) {
    var element = $(tableId);
    if (!element)
      return;

    removeAllChildNodes(element);
    if (data !== undefined)
      addRows(element, data);
  }
/**
   * Refresh the log html table by clearing it first. If data is not empty, then
   * it will be used to populate the table.
   * @param {string} tableId ID of the log html table.
   * @param {!Object} data A list of list of data items.
   */
Refresh the log html table by clearing it first. If data is not empty, then
it will be used to populate the table.
@param {string} tableId ID of the log html table.
@param {!Object} data A list of list of data items.
Refresh the log html table by clearing it first . If data is not empty then it will be used to populate the table . @param { string } tableId ID of the log html table . @param { !Object } data A list of list of data items .
function refreshLogTable(tableId, data) {
    var element = $(tableId);
    if (!element)
      return;
    removeAllChildNodes(element);
    if (data !== undefined)
      addRows(element, data);
  }
function refreshLogTable ( tableId , data ) { var element = $ ( tableId ) ; if ( ! element ) return ; removeAllChildNodes ( element ) ; if ( data !== undefined ) addRows ( element , data ) ; }
Refresh the log html table by clearing it first.
Refresh the log html table by clearing it first .