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.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. import conference from './conference';
  14. import API from './modules/API';
  15. import keyboardshortcut from './modules/keyboardshortcut/keyboardshortcut';
  16. import remoteControl from './modules/remotecontrol/RemoteControl';
  17. import settings from './modules/settings/Settings';
  18. import translation from './modules/translation/translation';
  19. import UI from './modules/UI/UI';
  20. window.APP = {
  21. API,
  22. conference,
  23. // Used by do_external_connect.js if we receive the attach data after
  24. // connect was already executed. status property can be 'initialized',
  25. // 'ready', or 'connecting'. We are interested in 'ready' status only which
  26. // means that connect was executed but we have to wait for the attach data.
  27. // In status 'ready' handler property will be set to a function that will
  28. // finish the connect process when the attach data or error is received.
  29. connect: {
  30. handler: null,
  31. status: 'initialized'
  32. },
  33. // Used for automated performance tests.
  34. connectionTimes: {
  35. 'index.loaded': window.indexLoadedTime
  36. },
  37. keyboardshortcut,
  38. remoteControl,
  39. settings,
  40. translation,
  41. UI
  42. };
  43. // TODO The execution of the mobile app starts from react/index.native.js.
  44. // Similarly, the execution of the Web app should start from react/index.web.js
  45. // for the sake of consistency and ease of understanding. Temporarily though
  46. // because we are at the beginning of introducing React into the Web app, allow
  47. // the execution of the Web app to start from app.js in order to reduce the
  48. // complexity of the beginning step.
  49. import './react';