소스 검색

Fixes some typos that cause errors

j8
Zalmoxisus 10 년 전
부모
커밋
567ac23c2c
4개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 1
    1
      libs/modules/RTC.bundle.js
  2. 1
    1
      libs/modules/xmpp.bundle.js
  3. 1
    1
      modules/RTC/DataChannels.js
  4. 1
    1
      modules/xmpp/strophe.emuc.js

+ 1
- 1
libs/modules/RTC.bundle.js 파일 보기

154
      */
154
      */
155
     bindDataChannelListener: function (peerConnection) {
155
     bindDataChannelListener: function (peerConnection) {
156
         if(!config.openSctp)
156
         if(!config.openSctp)
157
-            retrun;
157
+            return;
158
 
158
 
159
         peerConnection.ondatachannel = this.onDataChannel;
159
         peerConnection.ondatachannel = this.onDataChannel;
160
 
160
 

+ 1
- 1
libs/modules/xmpp.bundle.js 파일 보기

3796
             var self = this;
3796
             var self = this;
3797
             // Remove old ssrcs coming from the jid
3797
             // Remove old ssrcs coming from the jid
3798
             Object.keys(this.ssrc2jid).forEach(function (ssrc) {
3798
             Object.keys(this.ssrc2jid).forEach(function (ssrc) {
3799
-                if (self.ssrc2jid[ssrc] == jid) {
3799
+                if (self.ssrc2jid[ssrc] == from) {
3800
                     delete self.ssrc2jid[ssrc];
3800
                     delete self.ssrc2jid[ssrc];
3801
                 }
3801
                 }
3802
             });
3802
             });

+ 1
- 1
modules/RTC/DataChannels.js 파일 보기

153
      */
153
      */
154
     bindDataChannelListener: function (peerConnection) {
154
     bindDataChannelListener: function (peerConnection) {
155
         if(!config.openSctp)
155
         if(!config.openSctp)
156
-            retrun;
156
+            return;
157
 
157
 
158
         peerConnection.ondatachannel = this.onDataChannel;
158
         peerConnection.ondatachannel = this.onDataChannel;
159
 
159
 

+ 1
- 1
modules/xmpp/strophe.emuc.js 파일 보기

570
             var self = this;
570
             var self = this;
571
             // Remove old ssrcs coming from the jid
571
             // Remove old ssrcs coming from the jid
572
             Object.keys(this.ssrc2jid).forEach(function (ssrc) {
572
             Object.keys(this.ssrc2jid).forEach(function (ssrc) {
573
-                if (self.ssrc2jid[ssrc] == jid) {
573
+                if (self.ssrc2jid[ssrc] == from) {
574
                     delete self.ssrc2jid[ssrc];
574
                     delete self.ssrc2jid[ssrc];
575
                 }
575
                 }
576
             });
576
             });

Loading…
취소
저장