config.js 505 B

12345678910111213141516171819202122
  1. $(document).ready(function(){
  2. TEST = {
  3. destination : "/topic/chat.general",
  4. login : "admin",
  5. password : "password",
  6. url : "ws://localhost:61614",
  7. badUrl: "ws://localhost:61625",
  8. timeout: 2000,
  9. debug : function(str) {
  10. $("#debug").append(str + "\n");
  11. }
  12. };
  13. // fill server requirements:
  14. $("#test_url").text(TEST.url);
  15. $("#test_destination").text(TEST.destination);
  16. $("#test_login").text(TEST.login);
  17. $("#test_password").text(TEST.password);
  18. });