in content/lib/paho-mqtt.js [1511:1515]
ClientImpl.prototype._connected = function (reconnect, uri) { // Execute the onConnected callback if there is one. if (this.onConnected) this.onConnected(reconnect, uri); };