comparison nodes.js @ 1:c2954a9e5665

Add a super-owner that has power over all nodes; add support for affiliation changes; support pubsub#creator metadata; change pubsub#digest_frequency default; and use better default config values.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 28 Jun 2010 21:55:30 +0200
parents 9ee956af41e3
children 4c93e76fa371
comparison
equal deleted inserted replaced
0:9ee956af41e3 1:c2954a9e5665
32 32
33 exports.Node = function(params) { 33 exports.Node = function(params) {
34 this.items = {}; 34 this.items = {};
35 if (config.enabled('subscribe')) 35 if (config.enabled('subscribe'))
36 this.subscribers = {}; 36 this.subscribers = {};
37 this.owner = ['lm@slam']; 37 this.owner = [];
38 if (config.enabled('publisher-affiliation')) 38 if (config.enabled('publisher-affiliation'))
39 this.publisher = []; 39 this.publisher = [];
40 if (config.enabled('publish-only-affiliation')) 40 if (config.enabled('publish-only-affiliation'))
41 this.publishOnly = []; 41 this.publishOnly = [];
42 if (config.enabled('member-affiliation')) 42 if (config.enabled('member-affiliation'))