lib/easyrtc_public_obj.js
function(roomName, appRoomObj, callback) {
                // Join room. Creates a default connection room object
                e.app[appName].connection[easyrtcid].room[roomName] = {
                    apiField: {},
                    enteredOn: Date.now(),
                    gotListOn: Date.now(),
                    clientList: {},
                    toRoom: e.app[appName].room[roomName]
                };

                // Add easyrtcid to room clientList
                e.app[appName].room[roomName].clientList[easyrtcid] = {
                    enteredOn: Date.now(),
                    modifiedOn: Date.now(),
                    toConnection: e.app[appName].connection[easyrtcid]
                };

                // Returns connection room object to callback.
                connectionObj.room(roomName, callback);
            }
function(roomName, appRoomObj, callback) {
                // Join room. Creates a default connection room object
                e.app[appName].connection[easyrtcid].room[roomName] = {
                    apiField: {},
                    enteredOn: Date.now(),
                    gotListOn: Date.now(),
                    clientList: {},
                    toRoom: e.app[appName].room[roomName]
                };

                // Add easyrtcid to room clientList
                e.app[appName].room[roomName].clientList[easyrtcid] = {
                    enteredOn: Date.now(),
                    modifiedOn: Date.now(),
                    toConnection: e.app[appName].connection[easyrtcid]
                };

                // Returns connection room object to callback.
                connectionObj.room(roomName, callback);
            }
function ( roomName , appRoomObj , callback ) { // Join room. Creates a default connection room object
 e . app [ appName ] . connection [ easyrtcid ] . room [ roomName ] = { apiField : { } , enteredOn : Date . now ( ) , gotListOn : Date . now ( ) , clientList : { } , toRoom : e . app [ appName ] . room [ roomName ] } ; // Add easyrtcid to room clientList
 e . app [ appName ] . room [ roomName ] . clientList [ easyrtcid ] = { enteredOn : Date . now ( ) , modifiedOn : Date . now ( ) , toConnection : e . app [ appName ] . connection [ easyrtcid ] } ; // Returns connection room object to callback.
 connectionObj . room ( roomName , callback ) ; }
Local private function to create the default connection-room object in the private variable
Local private function to create the default connection - room object in the private variable