comparison configuration.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 f62b5c395a48
children 360186772aa3
comparison
equal deleted inserted replaced
7:7ab6b48122af 8:461a24a5a788
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */ 17 */
18 18
19 'use strict'; 19 'use strict';
20 20
21 var config = exports || {}; 21 var config = (typeof exports !== 'undefined')? exports: {};
22 22
23 // The JID and password of the account used. 23 // The JID and password of the account used.
24 config.jid = 'blog@linkmauve.fr'; 24 config.jid = 'blog@linkmauve.fr';
25 config.password = 'blog'; 25 config.password = 'blog';
26 26