static/js/display.js
/**
 * Update view given current view parameters.
 * @function updateView
 * @param {Object} mo - main object
 */
Update view given current view parameters.
@function updateView
@param {Object} mo - main object
Update view given current view parameters . @function updateView @param { Object } mo - main object
function updateView(mo) {
  renderArena(mo);
  renderSelection(mo);
  if (mo.stat.drawing) drawPolygon(mo);
  mo.rena.focus();
}
function updateView ( mo ) { renderArena ( mo ) ; renderSelection ( mo ) ; if ( mo . stat . drawing ) drawPolygon ( mo ) ; mo . rena . focus ( ) ; }
Update view given current view parameters.
Update view given current view parameters .