Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 2nd, 2013  |  syntax: None  |  size: 0.46 KB  |  views: 39  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. }
  2.  
  3.                 this.chatRooms = [];
  4.  
  5.                 this.autojoin = []; // rooms that users autojoin upon connecting
  6.                 this.staffAutojoin = []; // rooms that staff autojoin upon connecting
  7.                 for (var i=0; i<this.chatRoomData.length; i++) { console.log(this.chatRoomData); break;
  8.                         var id = toId(this.chatRoomData[i].title);
  9.                         console.log("NEW CHATROOM: "+id);
  10.                         var room = rooms[id] = new ChatRoom(id, this.chatRoomData[i].title, this.chatRoomData[i]);
  11.                         this.chatRooms.push(room);