hij1nx/EventEmitter2 — pull request #41 by Siedrix (2011-12-13 02:19:48+00:00)
Title: Unique events

Hi, I'm using EventEmitter2 on a project, on the browser. The app requirest to load modules asynchronous, some modules depend on events like Dom Ready or some data been loaded.

In some cases, when the modules are loaded, the trigger of the events already happened. I created the unique events so the modules that depend of these triggers can listen to them and the modules could work as if these events were triggered on loading.

Probably unique events isn't the right name, it could be persisting events or something else.

I created some basic tests for these events, if you want to merge my code to the main repo and there is something additional needed to be done (like extra testing), please let me know so I can complete it.

Let me know what you think of the code.

Daniel