mirror of
https://github.com/jech/galene.git
synced 2024-11-23 00:55:58 +01:00
Type global variables in sfu.js.
This commit is contained in:
parent
e4aad04f28
commit
fba0dded84
2 changed files with 4 additions and 1 deletions
|
@ -349,7 +349,7 @@ ServerConnection.prototype.request = function(what) {
|
||||||
/**
|
/**
|
||||||
* newUpStream requests the creation of a new up stream.
|
* newUpStream requests the creation of a new up stream.
|
||||||
*
|
*
|
||||||
* @param {string} id - The id of the stream to create (optional).
|
* @param {string} [id] - The id of the stream to create.
|
||||||
* @returns {Stream}
|
* @returns {Stream}
|
||||||
*/
|
*/
|
||||||
ServerConnection.prototype.newUpStream = function(id) {
|
ServerConnection.prototype.newUpStream = function(id) {
|
||||||
|
|
|
@ -5,7 +5,10 @@
|
||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
/** @type {string} */
|
||||||
let group;
|
let group;
|
||||||
|
|
||||||
|
/** @type {ServerConnection} */
|
||||||
let serverConnection;
|
let serverConnection;
|
||||||
|
|
||||||
function setUserPass(username, password) {
|
function setUserPass(username, password) {
|
||||||
|
|
Loading…
Reference in a new issue