bigcommerce/mozart — pull request #5 by tomcully (2013-07-06 02:35:04+00:00)
Title: Changed event method names on Object

'bind' is an overloaded term in Mozart - I propose we replace:

bind -> subscribe
unbind -> unsubscribe
one -> subscribeOnce
trigger -> publish

This reflects the pub/sub architecture for what it really is, and removes confusion with data Bindings.

This PR replaces all instances of use in Mozart and the specs, and adds legacy methods (bind/unbind/one/trigger) that print a console warning about depreciation, then call through to the updated method.