package/EmberSockets.js
function emit(eventName, params) {

            //jshint unused:false
            var args    = Array.prototype.slice.call(arguments),
                scope   = $ember.get(this, 'socket');

            scope.emit.apply(scope, args);

        }
function emit(eventName, params) {

            //jshint unused:false
            var args    = Array.prototype.slice.call(arguments),
                scope   = $ember.get(this, 'socket');

            scope.emit.apply(scope, args);

        }
function emit ( eventName , params ) { //jshint unused:false var args = Array . prototype . slice . call ( arguments ) , scope = $ember . get ( this , 'socket' ) ; scope . emit . apply ( scope , args ) ; }
Responsible for emitting an event to the waiting Socket.io server.

@method emit
@param eventName {String}
@param params {Array}
@return {void}
Responsible for emitting an event to the waiting Socket . io server .