The big rename of pluginbs from pluginomatic to ep

This commit is contained in:
Egil Moeller 2012-02-26 13:54:32 +01:00
parent 758666c3e1
commit da52353ba3
16 changed files with 48 additions and 48 deletions

View file

@ -0,0 +1,16 @@
test = ep_client_require("/plugins/ep_fintest/test.js");
console.log("FOOO:", test.foo);
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>");
});
}