comparison modules/mod_subscribe.js @ 41:bc717575e66a

Much better handling of modules.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sun, 20 Feb 2011 15:51:12 +0100
parents 4c808bfe0658
children 023f767662d3
comparison
equal deleted inserted replaced
40:741110cdcfcf 41:bc717575e66a
1 var config = require('../configuration');
2 var storage = require('../storage');
3 var errors = require('../errors');
4 var notifs = require('../notifs');
5 var makeError = errors.makeError;
6 var toBareJID = require('../fdsq').toBareJID;
7 var NS = require('../namespaces');
8
9 // SECTION 6.1: Subscribe to a Node 1 // SECTION 6.1: Subscribe to a Node
10 exports.subscribe = { 2 exports.subscribe = {
11 type: 'set', 3 type: 'set',
12 child: 'pubsub', 4 child: 'pubsub',
13 ns: NS.PUBSUB, 5 ns: NS.PUBSUB,