function renderReaction(reaction) {
  const xhr = new XMLHttpRequest();
  xhr.open('POST', '/render/reaction');
  const binary = reaction.serializeBinary();
  xhr.responseType = 'json';
  xhr.onload = function() {
    const html_block = xhr.response;
    $('#reaction_render').html(html_block);
  };
  xhr.send(binary);
}
/**
 * Updates the visual summary of the current reaction.
 * @param {!proto.ord.Reaction} reaction
 */
Updates the visual summary of the current reaction.
Updates the visual summary of the current reaction .
function renderReaction(reaction) {
  const xhr = new XMLHttpRequest();
  xhr.open('POST', '/render/reaction');
  const binary = reaction.serializeBinary();
  xhr.responseType = 'json';
  xhr.onload = function() {
    const html_block = xhr.response;
    $('#reaction_render').html(html_block);
  };
  xhr.send(binary);
}
function renderReaction ( reaction ) { const xhr = new XMLHttpRequest ( ) ; xhr . open ( 'POST' , '/render/reaction' ) ; const binary = reaction . serializeBinary ( ) ; xhr . responseType = 'json' ; xhr . onload = function ( ) { const html_block = xhr . response ; $ ( '#reaction_render' ) . html ( html_block ) ; } ; xhr . send ( binary ) ; }
Updates the visual summary of the current reaction.
Updates the visual summary of the current reaction .