瀏覽代碼

fix(iframe_api): s/getNumberOfParticipant/getNumberOfParticipants

master
hristoterezov 9 年之前
父節點
當前提交
207ac47aa7
共有 2 個檔案被更改,包括 2 行新增2 行删除
  1. 1
    1
      doc/api/api.md
  2. 1
    1
      modules/API/external/external_api.js

+ 1
- 1
doc/api/api.md 查看文件

@@ -204,7 +204,7 @@ api.removeEventListeners(["incomingMessage", "outgoingMessageListener"]);
204 204
 
205 205
 You can get the number of participants in the conference with the following code:
206 206
 ```
207
-var numberOfParticipants = api.getNumberOfParticipant();
207
+var numberOfParticipants = api.getNumberOfParticipants();
208 208
 ```
209 209
 
210 210
 You can remove the embedded Jitsi Meet Conference with the following code:

+ 1
- 1
modules/API/external/external_api.js 查看文件

@@ -352,7 +352,7 @@ JitsiMeetExternalAPI.prototype.removeEventListeners = function(events) {
352 352
  * NOTE: the local participant is included.
353 353
  * @returns {int} the number of participants in the conference.
354 354
  */
355
-JitsiMeetExternalAPI.prototype.getNumberOfParticipant = function() {
355
+JitsiMeetExternalAPI.prototype.getNumberOfParticipants = function() {
356 356
     return this.numberOfParticipants;
357 357
 };
358 358
 

Loading…
取消
儲存