Просмотр исходного кода

fix(iframe_api): s/getNumberOfParticipant/getNumberOfParticipants

master
hristoterezov 9 лет назад
Родитель
Сommit
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
 
204
 
205
 You can get the number of participants in the conference with the following code:
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
 You can remove the embedded Jitsi Meet Conference with the following code:
210
 You can remove the embedded Jitsi Meet Conference with the following code:

+ 1
- 1
modules/API/external/external_api.js Просмотреть файл

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

Загрузка…
Отмена
Сохранить