Mercurial > psgxs
diff nodes.js @ 12:9a6b8b3357c6
Use new functions like console.log instead of sys.puts, and aerate a bit.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 27 Aug 2010 01:14:40 +0200 |
parents | 4c93e76fa371 |
children | 95fc43d1bd54 |
line wrap: on
line diff
--- a/nodes.js +++ b/nodes.js @@ -41,18 +41,25 @@ exports.Node = function(params) { if (config.enabled('publisher-affiliation')) this.publisher = []; + if (config.enabled('publish-only-affiliation')) this.publishOnly = []; + if (config.enabled('member-affiliation')) this.member = []; + if (config.enabled('outcast-affiliation')) this.outcast = []; + if (config.enabled('meta-data')) this.metadata = new Configuration(service_configuration.node_metadata, params); + if (config.enabled('config-node')) this.configuration = new Configuration(service_configuration.node_config, params); + if (config.enabled('subscription-options')) this.subsConfig = new Configuration(service_configuration.subscribe_options, params); + return this; };