From: Florian Zeitz Date: Sun, 26 Dec 2010 01:16:47 +0000 (+0100) Subject: Move Strophe.addNamespace call to adhoc.js X-Git-Url: https://git.babelmonkeys.de/?a=commitdiff_plain;h=61e5961e4a4db4362a2ac0d59da5929671b583cc;p=adhocweb.git Move Strophe.addNamespace call to adhoc.js --- diff --git a/js/adhoc.js b/js/adhoc.js index 68b14c9..02be46c 100644 --- a/js/adhoc.js +++ b/js/adhoc.js @@ -1,3 +1,5 @@ +Strophe.addNamespace("ADHOC", "http://jabber.org/protocol/commands"); + var Adhoc = { status: { sessionid: null, diff --git a/js/main.js b/js/main.js index 15a0fd0..73ace06 100644 --- a/js/main.js +++ b/js/main.js @@ -1,8 +1,6 @@ var BOSH_SERVICE = 'http://localhost:5280/http-bind/'; var show_log = true; -Strophe.addNamespace("ADHOC", "http://jabber.org/protocol/commands"); - var localJID = null; var connection = null;