You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

helpers.js 429B

123456789101112131415161718
  1. /**
  2. * Returns the namespace for all global variables, functions, etc that we need.
  3. *
  4. * @returns {Object} The namespace.
  5. *
  6. * NOTE: After React-ifying everything this should be the only global.
  7. */
  8. export function getJitsiMeetGlobalNS() {
  9. if (!window.JitsiMeetJS) {
  10. window.JitsiMeetJS = {};
  11. }
  12. if (!window.JitsiMeetJS.app) {
  13. window.JitsiMeetJS.app = {};
  14. }
  15. return window.JitsiMeetJS.app;
  16. }