function updateCacheContents(cacheEntry) {
  var tr = document.createElement('tr');
  tr.appendChild(createElementFromText('td', cacheEntry.local_id));
  tr.appendChild(createElementFromText('td', cacheEntry.md5));
  tr.appendChild(createElementFromText('td', cacheEntry.is_present));
  tr.appendChild(createElementFromText('td', cacheEntry.is_pinned));
  tr.appendChild(createElementFromText('td', cacheEntry.is_dirty));

  $('cache-contents').appendChild(tr);
}
/**
 * Updates the Cache Contents section.
 * @param {Object} cacheEntry Dictionary describing a cache entry.
 * The function is called from the C++ side repeatedly.
 */
Updates the Cache Contents section.
@param {Object} cacheEntry Dictionary describing a cache entry.
The function is called from the C++ side repeatedly.
Updates the Cache Contents section . @param { Object } cacheEntry Dictionary describing a cache entry . The function is called from the C ++ side repeatedly .
function updateCacheContents(cacheEntry) {
  var tr = document.createElement('tr');
  tr.appendChild(createElementFromText('td', cacheEntry.local_id));
  tr.appendChild(createElementFromText('td', cacheEntry.md5));
  tr.appendChild(createElementFromText('td', cacheEntry.is_present));
  tr.appendChild(createElementFromText('td', cacheEntry.is_pinned));
  tr.appendChild(createElementFromText('td', cacheEntry.is_dirty));
  $('cache-contents').appendChild(tr);
}
function updateCacheContents ( cacheEntry ) { var tr = document . createElement ( 'tr' ) ; tr . appendChild ( createElementFromText ( 'td' , cacheEntry . local_id ) ) ; tr . appendChild ( createElementFromText ( 'td' , cacheEntry . md5 ) ) ; tr . appendChild ( createElementFromText ( 'td' , cacheEntry . is_present ) ) ; tr . appendChild ( createElementFromText ( 'td' , cacheEntry . is_pinned ) ) ; tr . appendChild ( createElementFromText ( 'td' , cacheEntry . is_dirty ) ) ; $ ( 'cache-contents' ) . appendChild ( tr ) ; }
Updates the Cache Contents section.
Updates the Cache Contents section .