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

index.js 848B

123456789101112131415161718192021222324252627282930
  1. import './_';
  2. // The library lib-jitsi-meet (externally) depends on the libraries jQuery and
  3. // Strophe
  4. (global => {
  5. // jQuery
  6. if (typeof global.$ === 'undefined') {
  7. const jQuery = require('jquery');
  8. jQuery(global);
  9. global.$ = jQuery;
  10. }
  11. // Strophe
  12. if (typeof global.Strophe === 'undefined') {
  13. require('strophe');
  14. require('strophejs-plugins/disco/strophe.disco');
  15. require('strophejs-plugins/caps/strophe.caps.jsonly');
  16. }
  17. })(global || window || this); // eslint-disable-line no-invalid-this
  18. // Re-export JitsiMeetJS from the library lib-jitsi-meet to (the other features
  19. // of) the project jitsi-meet-react.
  20. import JitsiMeetJS from 'lib-jitsi-meet';
  21. export { JitsiMeetJS as default };
  22. export * from './actions';
  23. export * from './actionTypes';
  24. export * from './functions';