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.

app.js 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /* application specific logic */
  2. import 'jquery';
  3. import 'jquery-contextmenu';
  4. import 'jquery-ui';
  5. import 'strophe';
  6. import 'strophe-disco';
  7. import 'jQuery-Impromptu';
  8. import 'autosize';
  9. import 'aui';
  10. import 'aui-experimental';
  11. import 'aui-css';
  12. import 'aui-experimental-css';
  13. window.toastr = require('toastr');
  14. export conference from './conference';
  15. export API from './modules/API';
  16. export keyboardshortcut from './modules/keyboardshortcut/keyboardshortcut';
  17. export remoteControl from './modules/remotecontrol/RemoteControl';
  18. export settings from './modules/settings/Settings';
  19. export translation from './modules/translation/translation';
  20. export UI from './modules/UI/UI';
  21. // Used by do_external_connect.js if we receive the attach data after connect
  22. // was already executed. status property can be 'initialized', 'ready', or
  23. // 'connecting'. We are interested in 'ready' status only which means that
  24. // connect was executed but we have to wait for the attach data. In status
  25. // 'ready' handler property will be set to a function that will finish the
  26. // connect process when the attach data or error is received.
  27. export const connect = {
  28. handler: null,
  29. status: 'initialized'
  30. };
  31. // Used for automated performance tests
  32. export const connectionTimes = {
  33. 'index.loaded': window.indexLoadedTime
  34. };
  35. // TODO The execution of the mobile app starts from react/index.native.js.
  36. // Similarly, the execution of the Web app should start from react/index.web.js
  37. // for the sake of consistency and ease of understanding. Temporarily though
  38. // because we are at the beginning of introducing React into the Web app, allow
  39. // the execution of the Web app to start from app.js in order to reduce the
  40. // complexity of the beginning step.
  41. import './react';