Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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. }