mroderick/PubSubJS — pull request #4 by jgauffin (2012-03-12 11:37:02+00:00)
Title: Suggested support for namespaces

i.e.

PubSub.subscribe('griffin.model.update', function() {});

will be invoked by

PubSub.publish('griffin.model.update.user.2', { someObject });

and

PubSub.publish('griffin.model.update.message.3', { someObject });

While

PubSub.subscribe('griffin');

will receive all messages within the `griffin` namespace