浏览代码

Fix eslint errors

master
yanas 9 年前
父节点
当前提交
e24d5da0ef
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 1
    1
      modules/UI/invite/Invite.js
  2. 0
    1
      modules/UI/side_pannels/contactlist/ContactListView.js

+ 1
- 1
modules/UI/invite/Invite.js 查看文件

38
             this.setLockedFromElsewhere(locked);
38
             this.setLockedFromElsewhere(locked);
39
         });
39
         });
40
 
40
 
41
-        this.conference.on(ConferenceEvents.USER_ROLE_CHANGED, (id, role) => {
41
+        this.conference.on(ConferenceEvents.USER_ROLE_CHANGED, (id) => {
42
             if (APP.conference.isLocalId(id)
42
             if (APP.conference.isLocalId(id)
43
                     && this.isModerator !== this.conference.isModerator) {
43
                     && this.isModerator !== this.conference.isModerator) {
44
 
44
 

+ 0
- 1
modules/UI/side_pannels/contactlist/ContactListView.js 查看文件

137
      * Setup listeners
137
      * Setup listeners
138
      */
138
      */
139
     registerListeners() {
139
     registerListeners() {
140
-        let model = this.model;
141
         let removeContact = this.onRemoveContact.bind(this);
140
         let removeContact = this.onRemoveContact.bind(this);
142
         let changeAvatar = this.changeUserAvatar.bind(this);
141
         let changeAvatar = this.changeUserAvatar.bind(this);
143
         let displayNameChange = this.onDisplayNameChange.bind(this);
142
         let displayNameChange = this.onDisplayNameChange.bind(this);

正在加载...
取消
保存