jQuery as a Global Event Bus

Some time ago, I made a mistake. 1  Rather than taking the time to truly understand how events worked in jQuery, I built my own JavaScript library to handle event delegation.

It worked, but why reinvent the wheel?

It turns out jQuery is perfectly capable of serving as a global event bus for all of your code.  You just have to know how to use it. [Read more...]

Notes:

  1. Actually, I make mistakes quite often. Daily in fact. But let’s not dwell on this …