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 453B

1234567891011121314151617181920212223242526272829
  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. // Set default desktop sharing method
  13. desktopsharing.init();
  14. keyboardshortcut.init();
  15. });
  16. $(window).bind('beforeunload', function () {
  17. if(API.isEnabled())
  18. API.dispose();
  19. });