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.

_.native.js 1.0KB

12345678910111213141516171819202122232425
  1. import './native';
  2. // The library lib-jitsi-meet (externally) depends on the libraries jQuery
  3. (global => {
  4. // jQuery
  5. if (typeof global.$ === 'undefined') {
  6. const jQuery = require('jquery');
  7. jQuery(global);
  8. global.$ = jQuery;
  9. }
  10. })(global || window || this); // eslint-disable-line no-invalid-this
  11. // Re-export JitsiMeetJS from the library lib-jitsi-meet to (the other features
  12. // of) the project jitsi-meet.
  13. //
  14. // TODO The Web support implemented by the jitsi-meet project explicitly uses
  15. // the library lib-jitsi-meet as a binary and keeps it out of the application
  16. // bundle. The mobile support implemented by the jitsi-meet project did not get
  17. // to keeping the lib-jitsi-meet library out of the application bundle and even
  18. // used it from source. As an intermediate step, start using the library
  19. // lib-jitsi-meet as a binary on mobile at the time of this writing. In the
  20. // future, implement not packaging it in the application bundle.
  21. import JitsiMeetJS from 'lib-jitsi-meet/lib-jitsi-meet.min';
  22. export { JitsiMeetJS as default };