Thursday, August 29, 2013

Javascript Event Manager singleton with jQuery

When building an SPA (single page application) one of the best patterns to use is the event driven pattern. Below is the implementation of a simple event manager to deal with custom events. Hope it will be usefull.