LearnBoost/socket.io-client — pull request #507 by adrianguenter (2012-12-17 07:36:16+00:00)
Title: Update lib/events.js

Replaced inappropriate if statement with elseif branch, when `$events.name` evaluated to false the last if statement essentially became:

if ( !isArray( $events[name] = [] ) ) { ... }