From b0c2de16a64172c6a7760f62428e4c785c381edf Mon Sep 17 00:00:00 2001 From: Florian Zeitz Date: Sat, 28 Nov 2009 22:26:01 +0100 Subject: [PATCH] Separate config * Config in a separate file * Default is now SASL ANONYMOUS * use compiled strophe.js --- index.html | 6 ++---- js/config.js | 5 +++++ js/main.js | 4 ---- 3 files changed, 7 insertions(+), 8 deletions(-) create mode 100644 js/config.js diff --git a/index.html b/index.html index 57da6a7..25d86c5 100644 --- a/index.html +++ b/index.html @@ -7,10 +7,8 @@ - - - - + + diff --git a/js/config.js b/js/config.js new file mode 100644 index 0000000..aa44de0 --- /dev/null +++ b/js/config.js @@ -0,0 +1,5 @@ +var BOSH_LOCATION = '/http-bind/'; +var room = 'test@conference.localhost'; +var jid = 'anon.localhost' +var password = ''; + diff --git a/js/main.js b/js/main.js index 5329f8b..c64776d 100644 --- a/js/main.js +++ b/js/main.js @@ -1,7 +1,3 @@ -var BOSH_LOCATION = '/http-bind/'; -var room = 'guests@conference.babelmonkeys.de'; -var jid = 'muckl@babelmonkeys.de' -var password = 'ooje0OjuJeekaek6'; var connection = null; var nickname; -- 2.39.5