site/public/semantic/javascript/semantic.js
function(member) {
            users = $module.data('users');
            if(member !== undefined && member.id !== 'anonymous') {
              delete users[ member.id ];
              $module
                .data('users', users)
              ;
              $userList
                .find('[data-id='+ member.id + ']')
                  .remove()
              ;
              if(settings.partingMessages) {
                $log
                  .append( settings.templates.left(member.info) )
                ;
                module.message.scroll.test();
              }
              module.user.updateCount();
            }
          }
function(member) {
            users = $module.data('users');
            if(member !== undefined && member.id !== 'anonymous') {
              delete users[ member.id ];
              $module
                .data('users', users)
              ;
              $userList
                .find('[data-id='+ member.id + ']')
                  .remove()
              ;
              if(settings.partingMessages) {
                $log
                  .append( settings.templates.left(member.info) )
                ;
                module.message.scroll.test();
              }
              module.user.updateCount();
            }
          }
function ( member ) { users = $module . data ( 'users' ) ; if ( member !== undefined && member . id !== 'anonymous' ) { delete users [ member . id ] ; $module . data ( 'users' , users ) ; $userList . find ( '[data-id=' + member . id + ']' ) . remove ( ) ; if ( settings . partingMessages ) { $log . append ( settings . templates . left ( member . info ) ) ; module . message . scroll . test ( ) ; } module . user . updateCount ( ) ; } }
remove user from user list
remove user from user list