mirror of
https://github.com/element-hq/element-web
synced 2024-11-24 02:05:45 +03:00
Comments & required props
This commit is contained in:
parent
327015ba0f
commit
ccf8e269cd
2 changed files with 6 additions and 1 deletions
|
@ -48,7 +48,12 @@ class TabComplete {
|
|||
this.isFirstWord = false; // true if you tab-complete on the first word
|
||||
this.enterTabCompleteTimerId = null;
|
||||
this.inPassiveMode = false;
|
||||
|
||||
// Map tracking ordering of the room members.
|
||||
// userId: integer, highest comes first.
|
||||
this.memberTabOrder = {};
|
||||
|
||||
// monotonically increasing counter used for tracking ordering of members
|
||||
this.memberOrderSeq = 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ module.exports = React.createClass({
|
|||
room: React.PropTypes.object.isRequired,
|
||||
|
||||
// a TabComplete object
|
||||
tabComplete: React.PropTypes.object,
|
||||
tabComplete: React.PropTypes.object.isRequired,
|
||||
|
||||
// the number of messages which have arrived since we've been scrolled up
|
||||
numUnreadMessages: React.PropTypes.number,
|
||||
|
|
Loading…
Reference in a new issue