mroderick/PubSubJS — pull request #41 by kamilgrymuza (2014-02-06 18:02:09+00:00)
Title: Add unsubscribeAll() method.

This method is useful for ensuring test case isolation when testing code using PubSubJS. When such code misbehaves some subscribers might still be registered and cause unwanted side-effects. To avoid this one can call `unsubscribeAll()` in a "teardown" hook of a test suite and ensure one test doesn't affect others.