Closed bkensey closed 10 years ago
Ready for merge, pending positive review.
Code looks simple enough. onEvent replaces individual instances with overloaded parameters. I didn't have any issues with Otto, but have none with GreenRobot's implementation either.
Yeah, the two serve identical purposes. The switch provides us with speed improvements, although I don't think we use enough events to make the boost significant, and gives us sticky events. I think stickies are the bit I'm most interested in, as they allow subscribing components to check for an existing sticky event while they're loading.
Bits of code cleanup in tow. Mostly formatting and comment improvements.