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

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