view ns.js @ 8:461a24a5a788

Silent errors when testing if we are server- or client-side.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 02 Nov 2011 09:48:28 -0700
parents eb5b6d3ab09b
children
line wrap: on
line source

var ns = {
	xhtml: 'http://www.w3.org/1999/xhtml',
	atom: 'http://www.w3.org/2005/Atom',
	e: 'urn:eldonilo',
	j: 'jabber:client',
	info: 'http://jabber.org/protocol/disco#info',
	items: 'http://jabber.org/protocol/disco#items',
	data: 'jabber:x:data',
	ps: 'http://jabber.org/protocol/pubsub',
	pse: 'http://jabber.org/protocol/pubsub#event'
};

var parsers = {};

if (typeof module !== 'undefined')
	module.exports = ns;