lib/core/render.js
function sendClientAlertMessage(ws, alert) {
  var msg = JSON.stringify({
    custom: {
      alert: alert
    }
  });
  ws.write(msg);
}
function sendClientAlertMessage(ws, alert) {
  var msg = JSON.stringify({
    custom: {
      alert: alert
    }
  });
  ws.write(msg);
}
function sendClientAlertMessage ( ws , alert ) { var msg = JSON . stringify ( { custom : { alert : alert } } ) ; ws . write ( msg ) ; }
Sends the given string to the client, where it will be displayed as a
JavaScript alert message.
Sends the given string to the client where it will be displayed as a JavaScript alert message .