comparison 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
comparison
equal deleted inserted replaced
7:7ab6b48122af 8:461a24a5a788
10 pse: 'http://jabber.org/protocol/pubsub#event' 10 pse: 'http://jabber.org/protocol/pubsub#event'
11 }; 11 };
12 12
13 var parsers = {}; 13 var parsers = {};
14 14
15 if (module) 15 if (typeof module !== 'undefined')
16 module.exports = ns; 16 module.exports = ns;