mirror of
https://github.com/jech/galene.git
synced 2024-11-09 18:25: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.
|
||||
*
|
||||
* @param {string} id - The id of the stream to create (optional).
|
||||
* @param {string} [id] - The id of the stream to create.
|
||||
* @returns {Stream}
|
||||
*/
|
||||
ServerConnection.prototype.newUpStream = function(id) {
|
||||
|
|
|
@ -5,7 +5,10 @@
|
|||
|
||||
'use strict';
|
||||
|
||||
/** @type {string} */
|
||||
let group;
|
||||
|
||||
/** @type {ServerConnection} */
|
||||
let serverConnection;
|
||||
|
||||
function setUserPass(username, password) {
|
||||
|
|
Loading…
Reference in a new issue