Don't crash when joining room 'constructor'

This commit is contained in:
Guangcong Luo 2014-07-04 15:45:34 -05:00
parent e90de36e65
commit 290d4d6992

View File

@ -998,7 +998,7 @@
*********************************************************/
initializeRooms: function() {
this.rooms = {};
this.rooms = Object.create(null); // {}
$(window).on('resize', _.bind(this.resize, this));
},