Mercurial > psgxs
comparison modules/mod_version.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 | b80ab94da447 |
children | 023f767662d3 |
comparison
equal
deleted
inserted
replaced
40:741110cdcfcf | 41:bc717575e66a |
---|---|
1 // XEP-0092: Software Version | 1 // XEP-0092: Software Version |
2 | |
3 var config = require('../configuration'); | |
4 var NS = require('../namespaces'); | |
5 | |
6 exports.version = { | 2 exports.version = { |
7 type: 'get', | 3 type: 'get', |
8 child: 'query', | 4 child: 'query', |
9 ns: NS.VERSION, | 5 ns: NS.VERSION, |
10 func: function(response) { | 6 func: function(response) { |