jbpros / plutonium-old

MIT License
12 stars 0 forks source link

Allow to specify one handler for multiple events in the event bus reciever #43

Closed thibaultponcelet closed 11 years ago

thibaultponcelet commented 11 years ago

Allows to define set the same handler for multiple events with a simple syntax:

this.eventBusReceiver.onEvents([
      "an event", 
      "another event",
     ...
    ], function(event, callback) { /* Do something */});
jbpros commented 11 years ago

Closed by c82c5d45f2f962a36a6fa88559fc503129f45a51