From: Florian Zeitz Date: Sat, 28 Nov 2009 21:26:01 +0000 (+0100) Subject: Separate config X-Git-Url: https://cgit.babelmonkeys.de/?a=commitdiff_plain;h=b0c2de16a64172c6a7760f62428e4c785c381edf;p=xmppchat.git Separate config * Config in a separate file * Default is now SASL ANONYMOUS * use compiled strophe.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;