Mercurial > psgxs
comparison modules/mod_configure.js @ 43:023f767662d3
Fix compatibility with strict mode of node 0.4 and some files without licence header.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Tue, 01 Mar 2011 11:58:15 +0100 |
parents | bc717575e66a |
children | 0d3f18bb1d36 |
comparison
equal
deleted
inserted
replaced
42:07ca0263a53f | 43:023f767662d3 |
---|---|
1 /* | |
2 * Copyright (C) 2010 Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | |
3 * | |
4 * This file is part of PSĜS, a PubSub server written in JavaScript. | |
5 * | |
6 * PSĜS is free software: you can redistribute it and/or modify | |
7 * it under the terms of the GNU Affero General Public License as | |
8 * published by the Free Software Foundation, either version 3 of the | |
9 * License. | |
10 * | |
11 * PSĜS is distributed in the hope that it will be useful, | |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 * GNU Affero General Public License for more details. | |
15 * | |
16 * You should have received a copy of the GNU Affero General Public License | |
17 * along with PSĜS. If not, see <http://www.gnu.org/licenses/>. | |
18 */ | |
19 | |
20 'use strict'; | |
21 | |
1 // SECTION 8.2: Configure a Node | 22 // SECTION 8.2: Configure a Node |
2 exports.getConfigure = { | 23 exports.getConfigure = { |
3 type: 'get', | 24 type: 'get', |
4 child: 'pubsub', | 25 child: 'pubsub', |
5 ns: NS.PUBSUB_OWNER, | 26 ns: NS.PUBSUB_OWNER, |