Tuesday, August 29, 2017

A gem from sockjs sources...

var area = that._send_area = _document.createElement('textarea'); 
... 
try {
    area.value = payload;
} catch(e) {
    utils.log('Your browser is seriously broken. Go home! ' + e.message);
}