您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

app.js 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /* application specific logic */
  2. // FIXME: remove once atlaskit work with React 16
  3. // It seems that @atlaskit/icon is importing PropTypes from React, but it
  4. // happens through some glyph coffee script template. It could be that more
  5. // things are broken there (not only the icon).
  6. import './react/features/base/react/prop-types-polyfill.js';
  7. import 'jquery';
  8. import 'jquery-contextmenu';
  9. import 'jQuery-Impromptu';
  10. import 'autosize';
  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';