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

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