您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

helpers.js 439B

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