function updateAppList(appList) {
  $('app-list-etag').textContent = appList['etag'];

  var itemContainer = $('app-list-items');
  for (var i = 0; i < appList['items'].length; i++) {
    var app = appList['items'][i];
    var tr = document.createElement('tr');
    tr.className = 'installed-app';
    tr.appendChild(createElementFromText('td', app.name));
    tr.appendChild(createElementFromText('td', app.application_id));
    tr.appendChild(createElementFromText('td', app.object_type));
    tr.appendChild(createElementFromText('td', app.supports_create));

    itemContainer.appendChild(tr);
  }
}
/**
 * Updates the summary about app list.
 * @param {Object} appList Dictionary describing app list.
 */
Updates the summary about app list.
@param {Object} appList Dictionary describing app list.
Updates the summary about app list . @param { Object } appList Dictionary describing app list .
function updateAppList(appList) {
  $('app-list-etag').textContent = appList['etag'];
  var itemContainer = $('app-list-items');
  for (var i = 0; i < appList['items'].length; i++) {
    var app = appList['items'][i];
    var tr = document.createElement('tr');
    tr.className = 'installed-app';
    tr.appendChild(createElementFromText('td', app.name));
    tr.appendChild(createElementFromText('td', app.application_id));
    tr.appendChild(createElementFromText('td', app.object_type));
    tr.appendChild(createElementFromText('td', app.supports_create));
    itemContainer.appendChild(tr);
  }
}
function updateAppList ( appList ) { $ ( 'app-list-etag' ) . textContent = appList [ 'etag' ] ; var itemContainer = $ ( 'app-list-items' ) ; for ( var i = 0 ; i < appList [ 'items' ] . length ; i ++ ) { var app = appList [ 'items' ] [ i ] ; var tr = document . createElement ( 'tr' ) ; tr . className = 'installed-app' ; tr . appendChild ( createElementFromText ( 'td' , app . name ) ) ; tr . appendChild ( createElementFromText ( 'td' , app . application_id ) ) ; tr . appendChild ( createElementFromText ( 'td' , app . object_type ) ) ; tr . appendChild ( createElementFromText ( 'td' , app . supports_create ) ) ; itemContainer . appendChild ( tr ) ; } }
Updates the summary about app list.
Updates the summary about app list .