Mercurial > psgxs
comparison modules/mod_owner.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 | 6697f394301f |
children | 023f767662d3 |
comparison
equal
deleted
inserted
replaced
40:741110cdcfcf | 41:bc717575e66a |
---|---|
1 var config = require('../configuration'); | |
2 var storage = require('../storage'); | |
3 var forms = require('../forms'); | |
4 var notifs = require('../notifs'); | |
5 var errors = require('../errors'); | |
6 var makeError = errors.makeError; | |
7 var fdsq = require('../fdsq'); | |
8 var toBareJID = fdsq.toBareJID; | |
9 var NS = require('../namespaces'); | |
10 | |
11 // SECTION 8.1: Create a Node | 1 // SECTION 8.1: Create a Node |
12 exports.create = { | 2 exports.create = { |
13 type: 'set', | 3 type: 'set', |
14 child: 'pubsub', | 4 child: 'pubsub', |
15 ns: NS.PUBSUB, | 5 ns: NS.PUBSUB, |