From 61e5961e4a4db4362a2ac0d59da5929671b583cc Mon Sep 17 00:00:00 2001 From: Florian Zeitz Date: Sun, 26 Dec 2010 02:16:47 +0100 Subject: [PATCH] Move Strophe.addNamespace call to adhoc.js --- js/adhoc.js | 2 ++ js/main.js | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.2