diff namespaces.js @ 0:a2dab4544b2d default tip

Initial commit.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 28 Jan 2011 02:35:04 +0100
parents
children
line wrap: on
line diff
new file mode 100644
--- /dev/null
+++ b/namespaces.js
@@ -0,0 +1,16 @@
+var NS = exports;
+
+NS.DISCO_INFO = 'http://jabber.org/protocol/disco#info';
+NS.DISCO_ITEMS = 'http://jabber.org/protocol/disco#items';
+
+NS.PUBSUB = 'http://jabber.org/protocol/pubsub';
+NS.PUBSUB_OWNER = 'http://jabber.org/protocol/pubsub#owner';
+NS.PUBSUB_EVENT = 'http://jabber.org/protocol/pubsub#event';
+NS.PUBSUB_ERROR = 'http://jabber.org/protocol/pubsub#error';
+NS.PUBSUB_METADATA = 'http://jabber.org/protocol/pubsub#meta-data';
+NS.PUBSUB_NODE_CONFIG = 'http://jabber.org/protocol/pubsub#node_config';
+NS.PUBSUB_PUBLISH_OPTIONS = 'http://jabber.org/protocol/pubsub#publish-options';
+
+NS.DATAFORMS = 'jabber:x:data';
+NS.DELAY = 'urn:xmpp:delay';
+NS.VERSION = 'jabber:iq:version';