Added a simple test plugin that doesn't do much

This commit is contained in:
Egil Moeller 2012-02-24 20:03:58 +01:00
parent 168f481980
commit 30b018833c
5 changed files with 64 additions and 0 deletions

View file

@ -0,0 +1,13 @@
exports.somehook = function (hook_name, args, cb) {
return cb(["otherpart:somehook was here"]);
}
exports.morehook = function (hook_name, args, cb) {
return cb(["otherpart:morehook was here"]);
}
exports.expressServer = function (hook_name, args, cb) {
args.app.get('/otherpart', function(req, res) {
res.send("<em>Abra cadabra</em>");
});
}