src/simple-mqtt-client/client-browser.js
function (client, backlog, channel, message) {
    if ( addToBacklog(client, backlog, publishBrowser, [client, backlog, channel, message]) ) return;
    message = new mqtt_lib.Message(message);
    message.destinationName = channel;
    client.send(message);
}
function (client, backlog, channel, message) {
    if ( addToBacklog(client, backlog, publishBrowser, [client, backlog, channel, message]) ) return;
    message = new mqtt_lib.Message(message);
    message.destinationName = channel;
    client.send(message);
}
function ( client , backlog , channel , message ) { if ( addToBacklog ( client , backlog , publishBrowser , [ client , backlog , channel , message ] ) ) return ; message = new mqtt_lib . Message ( message ) ; message . destinationName = channel ; client . send ( message ) ; }
Helper function that publishes to a channel in the browser
Helper function that publishes to a channel in the browser