gameclosure/js.io — pull request #26 by mcav (2012-07-19 23:22:23+00:00)
Title: Add common aliases for PubSub: on, off, emit, once

I'd like to offer this feature request for PubSub to support the following alternate aliases (in addition to the names we currently support):

emit = publish
on = subscribe
once = subscribeOnce
off = unsubscribe

**Rationale:** This makes the PubSub class compatible with similar event handlers in Node, Backbone, jQuery, and others. It's completely backwards compatible, and I feel much more comfortable using PubSub in other contexts (server, GCSocial's JS component, etc) when we can use an event subscription system which follows the conventions of all the libraries we're working with.