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

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