/** File: strophe.js * A JavaScript library for writing XMPP clients. * * This library uses either Bidirectional-streams Over Synchronous HTTP (BOSH) * to emulate a persistent, stateful, two-way connection to an XMPP server or * alternatively WebSockets. * * More information on BOSH can be found in XEP 124. * For more information on XMPP-over WebSocket see this RFC: * http://tools.ietf.org/html/rfc7395 */ /* All of the Strophe globals are defined in this special function below so * that references to the globals become closures. This will ensure that * on page reload, these references will still be available to callbacks * that are still executing. */ /* jshint ignore:start */ (function (callback) { /* jshint ignore:end */