]> git.babelmonkeys.de Git - adhocweb.git/commitdiff
Move Strophe.addNamespace call to adhoc.js
authorFlorian Zeitz <florob@babelmonkeys.de>
Sun, 26 Dec 2010 01:16:47 +0000 (02:16 +0100)
committerFlorian Zeitz <florob@babelmonkeys.de>
Sun, 26 Dec 2010 01:16:47 +0000 (02:16 +0100)
js/adhoc.js
js/main.js

index 68b14c9efa073bf295435f5076492d9e68aa7c43..02be46c6342512080f728e4c18c5a8261c54321f 100644 (file)
@@ -1,3 +1,5 @@
+Strophe.addNamespace("ADHOC", "http://jabber.org/protocol/commands");
+
 var Adhoc = {
     status: {
         sessionid: null,
index 15a0fd079a41a87b3d9f4a807495856c41e42486..73ace060a8394f96a984b32e9ba61fa9080e287c 100644 (file)
@@ -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;