comparison modules/mod_publish.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 notifs = require('../notifs');
4 var errors = require('../errors');
5 var makeError = errors.makeError;
6 var fdsq = require('../fdsq');
7 var toBareJID = fdsq.toBareJID;
8 var NS = require('../namespaces');
9
10 // SECTION 7.1: Publish an Item to a Node 1 // SECTION 7.1: Publish an Item to a Node
11 exports.publish = { 2 exports.publish = {
12 type: 'set', 3 type: 'set',
13 child: 'pubsub', 4 child: 'pubsub',
14 ns: NS.PUBSUB, 5 ns: NS.PUBSUB,