fix(chore) fix typo
This commit is contained in:
parent
5790742d53
commit
85d2123fac
|
@ -25,7 +25,7 @@ export function obtainDesktopSources(types, options = {}) {
|
||||||
|
|
||||||
if (JitsiMeetElectron && JitsiMeetElectron.obtainDesktopStreams) {
|
if (JitsiMeetElectron && JitsiMeetElectron.obtainDesktopStreams) {
|
||||||
JitsiMeetElectron.obtainDesktopStreams(
|
JitsiMeetElectron.obtainDesktopStreams(
|
||||||
sources => resolve(_seperateSourcesByType(sources)),
|
sources => resolve(_separateSourcesByType(sources)),
|
||||||
error => {
|
error => {
|
||||||
logger.error(
|
logger.error(
|
||||||
`Error while obtaining desktop sources: ${error}`);
|
`Error while obtaining desktop sources: ${error}`);
|
||||||
|
@ -54,7 +54,7 @@ export function obtainDesktopSources(types, options = {}) {
|
||||||
* @returns {Object} An object with the sources split into separate arrays based
|
* @returns {Object} An object with the sources split into separate arrays based
|
||||||
* on source type.
|
* on source type.
|
||||||
*/
|
*/
|
||||||
function _seperateSourcesByType(sources = []) {
|
function _separateSourcesByType(sources = []) {
|
||||||
const sourcesByType = {
|
const sourcesByType = {
|
||||||
screen: [],
|
screen: [],
|
||||||
window: []
|
window: []
|
||||||
|
|
Loading…
Reference in New Issue