var ACTION_SOME = 'action.some'
function someAction () {
Dispatcher.emit(ACTION_SOME, {action: 'someAction'});
}
Dispatcher.on(ACTION_SOME, function(event){
console.log('[ Dispatcher.on.ACTION_SOME ]: ', event.payload);
});
var MyClass = function (){}
MyClass.prototye = Object.create(Dispatcher)
var instanceOfMyClass = new MyClass;
instanceOfMyClass.on('event', function(event) {console.log('greeting: %s', event.payload.greeting)})
instanceOfMyClass.emit('event', {greeting: 'Hello'})