regality/double-under — pull request #1 by SuperShabam (2012-05-30 17:00:24+00:00)
Title: Instead of using EventEmitter for ready events, uses the ready module

When I use double-under.on('ready', function(){}) many times, I receive an error from Node.

"warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit."

We already have to do a little hack to make the 'ready' event operate correctly:
this.on('newListener', function(event, listener) {
if (event === 'ready' && self.ready) {
listener();
}
});

Using the ready module removes the need for this hack and causes the memory leak warning to go away.