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.

123456789101112131415161718192021222324252627282930
  1. /* jshint -W117 */
  2. /* application specific logic */
  3. function init() {
  4. RTC.start();
  5. xmpp.start(UI.getCreadentials);
  6. }
  7. $(document).ready(function () {
  8. if(API.isEnabled())
  9. API.init();
  10. UI.start();
  11. statistics.start();
  12. connectionquality.init();
  13. // Set default desktop sharing method
  14. desktopsharing.init();
  15. keyboardshortcut.init();
  16. });
  17. $(window).bind('beforeunload', function () {
  18. if(API.isEnabled())
  19. API.dispose();
  20. });