Builtin 'plugin' now works

This commit is contained in:
Egil Moeller 2012-02-24 20:29:14 +01:00
parent ee40b23cfc
commit 1f2b52ba5a
2 changed files with 8 additions and 1 deletions

5
node/test.js Normal file
View File

@ -0,0 +1,5 @@
exports.expressServer = function (hook_name, args, cb) {
args.app.get('/testxx', function(req, res) {
res.send("<em>Testing testing</em>");
});
}

View File

@ -1,6 +1,8 @@
{
"parts": [{
"name": "__builtin__",
"hooks": {}
"hooks": {
"expressServer": "../test:expressServer"
}
}]
}