metajack/strophejs — pull request #102 by chadillac (2013-02-13 21:16:57+00:00)
Title: connection.sync for enabling/disabling synchronous connections (good for disconnect on unload)

Added support for a widely believed feature of Strophe that doesn't seem to actually be supported.

Setting connection.sync = true is believed to force synchronous connections according
to many blog and forum posts. The source doesn't seem to support this at all. This little
patch makes that vaporware feature a reality.

e.g. disconnect in window.unload examples