Mercurial > eldonilo > blog
annotate ns.js @ 2:eb5b6d3ab09b
Better import of ns and jid; fix email and missing ns.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Wed, 13 Jul 2011 13:11:54 +0200 |
parents | f62b5c395a48 |
children | 461a24a5a788 |
rev | line source |
---|---|
0 | 1 var ns = { |
2 xhtml: 'http://www.w3.org/1999/xhtml', | |
3 atom: 'http://www.w3.org/2005/Atom', | |
4 e: 'urn:eldonilo', | |
5 j: 'jabber:client', | |
6 info: 'http://jabber.org/protocol/disco#info', | |
7 items: 'http://jabber.org/protocol/disco#items', | |
8 data: 'jabber:x:data', | |
9 ps: 'http://jabber.org/protocol/pubsub', | |
10 pse: 'http://jabber.org/protocol/pubsub#event' | |
11 }; | |
12 | |
13 var parsers = {}; | |
14 | |
2
eb5b6d3ab09b
Better import of ns and jid; fix email and missing ns.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
15 if (module) |
eb5b6d3ab09b
Better import of ns and jid; fix email and missing ns.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents:
0
diff
changeset
|
16 module.exports = ns; |